R3303-HP HSR6800 Routers Network Management and Monitoring Command Reference

2
If no response from the destination is received within the timeout time, the interval to send the next
echo request equals the timeout value plus the value of interval.
-n: Disables domain name resolution for the host argument. When this keyword is not provided, if the
host argument represents the host name of the destination, the device translates host into an address.
-p pad: Specifies the value of the pad field in an ICMP echo request, in hexadecimal format, 1 to 8 bits,
in the range 0 to ffffffff. If the specified value is less than 8 bits, 0s are added in front of the value to
extend it to 8 bits. For example, if pad is configured as 0x2f, then the packets are padded with
0x0000002f repeatedly to make the total length of the packet meet the requirements of the device. By
default, the padded value starts from 0x01 up to 0xff, where another round starts again if necessary, like
0x010203…feff01….
-q: Presence of this keyword indicates that only statistics are displayed. Absence of this keyword
indicates that all information is displayed.
-r: Records routing information. If this keyword is not provided, routes are not recorded.
-s packet-size: Specifies length (in bytes) of an ICMP echo request. The value range is 20 to 8100, and
the default is 56.
-t timeout: Specifies the timeout value (in milliseconds) of an ICMP echo reply (ECHO-REPLY). If the
source does not receive an ICMP echo reply within the timeout, it considers the ICMP echo reply timed
out. The value range is 0 to 65535, and default is 2000.
-tos tos: Specifies the ToS value of an echo request. The value range is 0 to 255, and the default is 0.
-v: Displays non ICMP echo reply received. If this keyword is not provided, the system does not display
non ICMP echo reply.
-mt topology-name: Specifies the topology name, which is a case-sensitive string of 1 to 31 characters.
To verify whether two nodes of a topology can reach each other, specify the name of the topology to
which the two nodes belong. You cannot specify both a topology name and an MPLS L3VPN at the same
time.
-vpn-instance vpn-instance-name: Specifies the MPLS L3VPN instance to which the destination belongs,
where vpn-instance-name is a case-sensitive string of 1 to 31 characters. If the destination is on the public
network, do not specify this option.
host: IP address or host name (a string of 1 to 255 characters) of the destination.
Usage guidelines
With the ping command executed, the source sends an ICMP echo request to the destination:
If the destination name is unrecognizable, the system outputs "Error: Ping: Unknown host
host-name".
If the source receives an ICMP echo reply from the destination within the timeout, the system outputs
the related information of the reply.
If the source does not receive an ICMP echo reply from the destination within the timeout, the system
outputs "Request time out."
To use the name of the destination host to perform the ping operation, you must configure the Domain
Name System (DNS) on the device first; otherwise, the ping operation fails. For more information about
DNS, see Layer 3IP Services Configuration Guide.
To abort the ping operation during the execution of the command, press Ctrl+C.
Examples
# Test whether the device with an IP address of 1.1.2.2 is reachable.