H3C S7500 Series Ethernet Switches Operation Manual

Operation Manual – System Maintenance and Debugging
H3C S7500 Series Ethernet Switches Chapter 3
Network Connectivity Test
3-1
Chapter 3 Network Connectivity Test
When configuring network connectivity test, go to these sections for information you
are interested in:
z ping
z tracert
3.1 Network Connectivity Test
3.1.1 ping
You can use the ping command to check the network connectivity and the reachability
of a host.
Table 3-1 The ping command
Operation Command
Support IP protocol
ping [ -a ip-address | -c count | -d | -f | -h ttl | -i
interface-type interface-number | -n | - p pattern | -q | -r
| -s packetsize | -t timeout | -tos tos | -v | ip ]* host-ip
Support IPX protocol
ping ipx ipx-address [ -c count | -s packetsize | -t
timeout ]*
Support CLNS protocol
ping clns nsap-address
This command can output the following results:
z Response status for each ping packet. If no response packet is received within the
timeout time, the message "Request time out" is displayed. Otherwise, the number
of data bytes, packet serial number, TTL (time to live) and response time of the
response packet are displayed.
z Final statistics, including the numbers of sent packets and received response
packets, the irresponsive packet percentage, and the minimum, average and
maximum values of response time.
3.1.2 tracert
You can use the tracert command to trace the gateways a packet passes during its
journey from the source to the destination. This command is mainly used to check the
network connectivity. It can help you locate the trouble spot of the network.
The executing procedure of the tracert command is as follows: First, the source host
sends a data packet with the TTL of 1, and the first hop device returns an ICMP error
message indicating that it cannot forward this packet because of TTL timeout. Then,