Command Manual - System Management
Quidway S2000 Series Ethernet Switches Chapter 4 System Maintenance Commands
4-18
-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 of the destination host.
ip: Choose IP ICMP packet.
Description
Using ping command, you can check the IP network connection and the reachability of
the host.
By default, when the parameters are not specified:
z
The ECHO-REQUEST message will be sent for 5 times.
z
socket is not in DEBUGGING mode.
z
The TTL value for echo requests is 255.
z
host will be treated as IP address first. If it is not an IP address, perform domain
name resolution.
z
The default padding operation starts from 0x01 and ends on 0x09 (progressively),
then performs again.
z
Show all the information including statistics.
z
Routes are not recorded.
z
Send ECHO-REQUEST according to route selection.
z
Default length of ECHO-REQUEST is 56 bytes.
z
Default timeout of ECHO-RESPONSE is 2000ms.
z
Do not display other ICMP packets (non ECHO-RESPONSE).
z
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 ping command to troubleshoot the network connection and line quality. The
output information includes:
z
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.
z
The final statistics, including number of sent packets, number of response packets
received, percentage of non-response packets and minimal/maximum/average
value of response time.
If the network transmission rate is too low, you can increase the response message
timeout.
For the related commands, see tracert.