3com S7906E Guide De Référence

Page de 2327
 
1-1 
1  
System Maintaining and Debugging Commands 
System Maintaining Commands 
ping 
Syntax 
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 ] * remote-system 
View 
Any view 
Default Level 
0: Visit level 
Parameters 
ip: Supports IPv4 protocol. 
-a source-ip: Specifies the source IP address of an ICMP echo request (ECHO-REQUEST). It must be 
a legal IP address configured on the device. 
-c  count: Specifies the number of times that an ICMP echo request is sent, in the range 1 to 
4294967295. The default value is 5. 
-f: Discards packets larger than the MTU of a given interface, that is, the ICMP echo request is not 
allowed to be fragmented. 
-h ttl: Specifies the TTL value for an ICMP echo request, in the range 1 to 255. The default value is 255. 
-i interface-type interface-number: Specifies the ICMP echo request sending interface by its type and 
number. 
-m interval: Specifies the interval (in milliseconds) to send an ICMP echo response, in the range 1 to 
65535. The default value is 200 ms. 
If a response from the destination is received within the timeout time, the interval to send the next 
echo request equals the actual response period plus the value of interval. 
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: Specifies that the Domain Name System (DNS) is disabled. DNS is enabled by default, that is, the 
hostname is translated 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 will be added to extend the value to 8 
bits. For example, if pad  is configured as 0x2f, then the packets will be 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….