838
C
72: S
HAPTER
YSTEM
Testing Tools for
Network Connection
ping
quick-ping enable
M
D
AINTENANCE AND
EBUGGING
Table 803 Display diagnostic information
Operation
Display diagnostic information
n
When using the display diagnostic-information command to keep track of the
switch, you should execute the command at least twice so that you can compare
the information for locating problems.
The ping command can be used to check the network connectivity and host
reachability.
Perform the following configuration in any view.
Table 804 Execute the ping command
Operation
Support IP ping
The output of the command includes:
The response to each ping message. If no response packet is received when the
■
timer expires, "Request time out" information appears. Otherwise, the data
bytes, the packet sequence number, TTL, and the round-trip time of the
response packet will be displayed.
The final statistics, including the number of sent packets, the number of
■
received packets, the packet loss ratio, the round-trip time in its minimum
value, mean value and maximum value.
Use the quick-ping enable command to enable the ping distribution function.
Use the undo quick-ping enable command to disable the ping distribution
function.
Perform the following configuration in system view.
Table 805 Enable/disable the PING distribution function
Operation
Enable the PING distribution function
Disable the PING distribution function
By default, the PING distribution function is enabled.
Command
display diagnostic-information
Command
ping [ ip ] [ -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 | -vpn-instance
vpn-instance-name ]* host
Command
quick-ping enable
undo quick-ping enable