3Com 4500 PWR 26-PORT Switch User Manual


 
354 CHAPTER 12: USING SYSTEM MANAGEMENT COMMANDS
-q: Configure not to display any other detailed information except statistics.
-r: Record route.
-s packetsize: Specify the length of ECHO-REQUEST (excluding IP and ICMP
packet header) in bytes.
-t timeout: Maximum waiting time after sending the ECHO-REQUEST (measured
in ms).
-tos tos: Specify TOS value for echo requests to be sent, range from 0 to 255.
-v: Show other received ICMP packets (non ECHO-RESPONSE).
string: Destination host domain name or IP address.
Description
Use the ping command to check the IP network connection and the reachability
of the host.
By default, when the parameters are not specified:
the ECHO-REQUEST message will be sent for 5 times,
socket is not in DEBUGGING mode,
the TTL value for echo requests is 255,.
host will be treated as IP address first. If it is not an IP address, perform domain
name resolution,
the default padding operation starts from 0x01 and ends on 0x09
(progressively), then performs again,
show all the information including statistics,
routes are not recorded,
send ECHO-REQUEST according to route selection,
default length of ECHO-REQUEST is 56 bytes.,
default timeout of ECHO-RESPONSE is 2000ms,
do not display other ICMP packets (non ECHO-RESPONSE),
the TOS value of echo requests is 0.
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.
Perform the ping command to troubleshoot the network connection and line
quality. 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.