Command Manual – System Management 
Quidway S8500 Series Routing Switches  Chapter 4  System Maintenance Commands
 
Huawei Technologies Proprietary 
4-30 
Parameter 
-a ip-address: Specifies the source IP address to transmit ICMP ECHO-REQUEST. 
-c: count Specifies how many times the ICMP ECHO-REQUEST packet will be 
transmitted, ranging from 1 to 4,294,967,295. The default value is five. 
-d: Configures the socket to be in DEBUGGING mode. 
-f: Configures the packet to be dropped instead of being fragmented when the packet 
length is larger than interface MTU. 
-h ttl: Configures TTL value for echo requests to be sent, range from 1 to 255. The 
default value is 255. 
-i: Configures to choose packet sent on the interface. 
interface-type: Specifies the interface type.  
interface-number: Specifies the interface number.  
-n: Configures to take the host parameter as IP address without domain name 
resolution. 
-p: pattern is the hexadecimal padding of ICMP echo-request, for example -p ff pads 
the packet completely with ff. By default, the starting padding is 0x01, crescent, and the 
ending padding is 0x09, and then repeat. 
-q: Configures not to display any other detailed information except statistics. 
-r: Record route. By default, the system does not record route. 
-s packetsize: Specifies the length of ECHO-REQUEST (excluding IP and ICMP packet 
header) in bytes. The length of the echo-request packet defaults to 56 bytes. 
-t timeout: Maximum waiting time after sending the echo-request (measured in ms). 
The time defaults to 2000 ms. 
-tos tos: Specifies TOS value for echo requests to be sent, range from 0 to 255. The 
default value is 0. 
-v: Displays other received ICMP packets (non echo-response). By default, no other 
non echo-response ICMP packets is displayed. 
-vpn-instance vpn-instance-nam: VPN instance name. 
host: Destination host domain name or IP address of the destination host. 
ip: Chooses IP ICMP packet. 
Description 
Use the ping command to check the IP network connection and the reachability of the 
host. 
The ping command sends ICMP ECHO-REQUEST message to the destination. If the 
network to the destination works well, then the destination host will send ICMP 
ECHO-REPLY to the source host after receiving ICMP ECHO-REQUEST.