Installation manual
Command Manual - System Management
Quidway S3000-EI Series Ethernet Switches Chapter 4 System Maintenance Commands
Huawei Technologies Proprietary
4-16
-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 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.