Operation Manual – System Maintenance and DebuggingH3C S3100-52P Ethernet Switch Chapter 3 Network Connectivity Test3-1Chapter 3 Network Connectivity TestWhen configuring network connectivity test, go to these sections for information youare interested in:z pingz tracert3.1 Network Connectivity Test3.1.1 pingYou can use the ping command to check the network connectivity and the reachabilityof a host.To do… Use the command… RemarksCheck the IP networkconnectivity and thereachability of a hostping [ -a ip-address ] [-c count ][ -d ] [ -f ] [ -h ttl ] [ -i interface-typeinterface-number ] [ ip ] [ -n ] [ - ppattern ] [ -q ] [ -s packetsize ] [ -ttimeout ] [ -tos tos ] [ -v ] hostYou can execute thiscommand in anyview.This command can output the following results:z Response status for each ping packet. If no response packet is received within thetimeout time, the message "Request time out" is displayed. Otherwise, the numberof data bytes, packet serial number, time to live (TTL) and response time of theresponse packet are displayed.z Final statistics, including the numbers of sent packets and received responsepackets, the irresponsive packet percentage, and the minimum, average andmaximum values of response time.3.1.2 tracertYou can use the tracert command to trace the gateways that a packet passes from thesource to the destination. This command is mainly used to check the networkconnectivity. It can also be used to help locate the network faults.The executing procedure of the tracert command is as follows: First, the source hostsends a data packet with the TTL of 1, and the first hop device returns an ICMP errormessage indicating that it cannot forward this packet because of TTL timeout. Then,the source host resends the packet with the TTL of 2, and the second hop device alsoreturns an ICMP TTL timeout message. This procedure goes on and on until the packetgets to the destination. During the procedure, the system records the source address of