System Maintenance And Debugging; Configuring Ping; Configuring Ping Example - HP 5820X Switch Configuration Manual

Network management and monitoring
Hide thumbs Also See for 5820X Switch:
Table of Contents

Advertisement

System maintenance and debugging

You can use the ping command and the tracert command to verify the current network connectivity, and
use the debug command to enable debugging and to diagnose system faults based on the debugging
information.

Configuring ping

The ping command allows you to verify whether a device with a specified address is reachable, and to
examine network connectivity.
The ping function is implemented through the ICMP using the following workflow:
The source device sends an ICMP echo request to the destination device.
1.
The source device determines whether the destination is reachable based on whether it receives an
2.
ICMP echo reply; if the destination is reachable, the source device determines the link quality
based on the numbers of ICMP echo requests sent and replies received, determines the distance
between the source and destination based on the round trip time of ping packets.
To configure the ping function:
To do...
Check whether a specified
address in an IP network is
reachable.
NOTE:
For a low-speed network, set a larger value for the timeout timer—indicated by the -t parameter in
the command—when configuring the ping command.
Only the directly connected segment address can be pinged if the outgoing interface is specified with
the -i argument
For more information about the ping lsp command, see MPLS basics commands in the
Command Reference

Configuring ping example

Network requirements
As shown in
each other, get the detailed information of routes from Device A to Device C.
Use the command...
ping [ ip ] [ -a source-ip | -c count | -f | -
h ttl | -i interface-type interface-number | -
m interval | -n | -p pad | -q | -r | -s
packet-size | -t timeout | -tos tos | -v | -
vpn-instance vpn-instance-name ] * host
ping ipv6 [ -a source-ipv6 | -c count | -m
interval | -s packet-size | -t timeout ] *
host [ -i interface-type interface-number ]
.
Figure
1, check whether Device A and Device C can reach each other. If they can reach
1
Remarks
Required.
Use either approach.
The ping command is
applicable in an IPv4 network;
the ping ipv6 command is
applicable in an IPv6 network.
Available in any view.
MPLS

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

5800 switch

Table of Contents