Chapter 2 Network Connectivity Test Commands; Ping - Huawei Quidway S3900 series Command Manual

Hide thumbs Also See for Quidway S3900 series:
Table of Contents

Advertisement

Command Manual – System Maintenance and Debugging
Quidway S3900 Series Ethernet Switches-Release 1510

Chapter 2 Network Connectivity Test Commands

2.1.1 ping

Syntax
ping [ -a ip-address ] [-c count ] [ -d ] [ -f ] [ -h ttl ] [ -i [ NULL null-interface-number ] |
[ Vlan-interface vlan-id ] ] [ ip ] [ -n ] [ - p pattern ] [ -q ] [ -s packetsize ] [ -t timeout ]
[ -tos tos ] [ -v ] host
View
Any view
Parameter
-a ip-address: Sets the source IP address to send the ICMP ECHO-REQUEST packets.
-c count: Specifies how many times the ICMP ECHO-REQUEST packet will be sent.
The count argument is the times, which ranges from 1 to 4,294,967,295 and defaults to
5.
-d: Sets the socket to DEBUGGING mode. By default, it is non-DEBUGGING mode.
-f: Specifies to discard a packet directly instead of fragmenting it if its length is greater
than the MTU (maximum transmission unit) of the interface.
-h ttl: Sets the TTL (time to live) value of the ICMP ECHO-REQUEST packets in the
range of 1 to 255. By default, the TTL value is 255.
-i: Selects the port to send the packets.
null-interface-number: Null port number.
vlan-id: VLAN interface number.
ip: Selects the IP ICMP packet.
-n: Specifies to regard the host argument as an IP address without performing domain
name resolution. By default, the host argument is first regarded as an IP address; if it is
not an IP address, domain name resolution is performed.
-p pattern: Specifies the padding byte pattern of the ICMP ECHO-REQUEST packets.
The pattern argument is a byte in hexadecimal. For example, -p ff fills a packet with only
ff. By default, the system fills a packet with 0x01, 0x02, and so on, until 0x09; then it
repeats this procedure from 0x01 again.
-q: Specifies to display only the statistics and not to display the details. By default, all
the information including the details and statistics will be displayed.
Huawei Technologies Proprietary
2-1
Chapter 2 Network Connectivity Test Comm
ands

Hide quick links:

Advertisement

Chapters

Table of Contents
loading

Table of Contents