1-11 System Maintaining and DebuggingWhen maintaining and debugging the system, go to these sections for information you are interested in:z System Maintaining and Debuggingz Pingz Tracertz System Debuggingz Ping and Tracert Configuration ExampleSystem Maintaining and DebuggingYou can use the ping command and the tracert command to verify the current network connectivity,and use the debug command to enable debugging and thus to diagnose system faults based on thedebugging information.PingIntroductionYou can use the ping command to verify whether a device with a specified address is reachable, and toexamine network connectivity.The ping function is implemented through the Internet Control Message Protocol (ICMP):1) The source device sends an ICMP echo request to the destination device.2) The source device determines whether the destination is reachable based on whether it receivesan ICMP echo reply; if the destination is reachable, the source device determines the link qualitybased on the numbers of ICMP echo requests sent and replies received, determines the distancebetween the source and destination based on the round trip time of ping packets.Configuring PingFollow the step below to configure the ping function:To do… Use the command… Remarksping [ ip ] [ -a source-ip | -c count | -f | -h ttl | -iinterface-type interface-number | -m interval | -n |-p pad | -q | -r | -s packet-size | -t timeout | -tos tos| -v | -vpn-instance vpn-instance-name ] * hostCheckwhether aspecifiedaddress in anIP network isreachableping ipv6 [ -a source-ipv6 | -c count | -m interval |-s packet-size | -t timeout ] * host [ -i interface-typeinterface-number ]RequiredUse either approachThe ping command isapplicable in an IPv4network; the ping ipv6command is applicable in anIPv6 network.Available in any view