3com 8807 Reference Guide
1036
C
HAPTER
61: S
YSTEM
M
AINTENANCE
C
OMMANDS
-h ttl: Configures the TTL value for echo requests to be sent. The TTL value ranges
from 1 to 255. The default value is 255.
from 1 to 255. The default value is 255.
-i: Specifies an interface to send packets.
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.
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.
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.
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.
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.
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.
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.
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.
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.
Perform ping command to troubleshoot the network connection and line quality.
The output information includes:
The output information includes:
■
Responses to each of the ECHO-REQUEST messages. If the response message is
not received until timeout, output "Request time out". Or display response
message bytes, packet sequence number, TTL and response time.
not received until timeout, output "Request time out". Or display response
message bytes, packet sequence number, TTL and response time.