Verifying Network Connectivity - Cisco ASR 5000 Series Administration Manual

Staros release 21.4
Hide thumbs Also See for ASR 5000 Series:
Table of Contents

Advertisement

Verifying Network Connectivity

Verifying Network Connectivity
There are multiple commands supported by the system to verify and/or troubleshoot network connectivity.
Note that network connectivity can only be tested once system interfaces and ports have been configured and
bound.
The commands specified in this section should be issued on a context-by-context basis. Contexts act like
virtual private networks (VPNs) that operate independently of other contexts. Ports, interfaces, and routes
configured in one context cannot be tested from another context without additional configuration.
To switch between contexts enter the following command at the root prompt for the Exec mode:
[local]
context_name is the name of the context to which you wish to switch. The following prompt appears:
[context_name]
Using the ping or ping6 Command
The ping or ping6 command verifies the system's ability to communicate with a remote node in the network
by passing data packets between and measuring the response. This command is useful in verifying network
routing and if a remote node is able to respond at the IP layer.
Syntax
The ping command has the following syntax:
ping host_ipv4_address [ count num_packets ] [ flood ] [ pattern packet_pattern ] [ size octet_count ]
[ src { src_host_name | src_host_ipv4_address } ] [ vrf vrf_nam ]
ping6 host_ipv6_address [ count num_packets ] [ flood ][ pattern packet_pattern ] [ size octet_count ]
[ src { src_host_name | src_host_ipv6_address } ] [ vrf vrf_nam ]
For complete information on the above commands, see the Exec Mode Commands chapter of the Command
Line Interface Reference.
The following displays a sample of a successful ping (IPV4) response.
PING 192.168.250.1 (192.168.250.1): 56 data bytes
64 bytes from 192.168.250.1: icmp_seq=0 ttl=255 time=0.4 ms
64 bytes from 192.168.250.1: icmp_seq=1 ttl=255 time=0.2 ms
64 bytes from 192.168.250.1: icmp_seq=2 ttl=255 time=0.2 ms
64 bytes from 192.168.250.1: icmp_seq=3 ttl=255 time=0.2 ms
64 bytes from 192.168.250.1: icmp_seq=4 ttl=255 time=0.2 ms
--- 192.168.250.1 ping statistics ---
5 packets transmitted, 5 packets received, 0% packet loss
round-trip min/avg/max = 0.2/0.2/0.4 ms
Troubleshooting
If no response is received from the target follow these troubleshooting procedures:
• Verify that the correct IP address was entered.
• Attempt to ping a different device on the same network. If the ping was successful then it is likely that
ASR 5500 System Administration Guide, StarOS Release 21.4
220
host_name
context context_name
#
host_name
#
your system configuration is correct. Verify that the device you are attempting to ping is powered and
functioning properly.
Troubleshooting

Advertisement

Table of Contents
loading

This manual is also suitable for:

Asr 5500

Table of Contents