Step
|
Command
|
Description
|
Enter the ping interactive mode
|
ping [ vrf vrf-name ]
|
Mandatory
In the privileged user mode, execute the command to enter the ping interactive mode.
|
Configure the network protocol type
|
Protocol [ ip ]:[ ip | ipv6]
|
Optional
By default, Use the IPv4 protocol.
|
Configure the destination IP address or host name
|
Target IP address or hostname:{ ip-address | host- name }
|
Mandatory
|
Configure the times of sending the ICMP request packet
|
Repeat count [5]:[ repeat-count ]
|
Optional
By default, send for 5 times.
|
Configure the length of the ICMP request packet
|
Datagram size [76]:[ datagram- size ]
|
Optional
The packet length is the size of the whole IP packet.
By default, the packet length is 76 bytes.
|
Configure the timeout for waiting for the ICMP response
|
Timeout in seconds [2]:[ timeout ]
|
Optional
By default, time out for 2s.
|
Enable the extended option
|
Extended commands [no]:[ yes |
no ]
|
Optional
After enabling the extended option, the configuration command of the extended option is available.
By default, do not enable the extended option.
|
Configure the extended option, the source IP address or egress interface of the ICMP request packet
|
Source address or interface:{ ip- address | interfacename }
|
Optional
After enabling the extended option, the command can be configured.
By default, do not specify the source address and egress interface of the request packet.
|
Configure the extended selection, the service type of the ICMP request packet
|
Type of service [0]:[ tos ]
|
Optional. Only IPv4 protocol supports the command.
After enabling the extended option, the command can be configured.
By default, the TOS value is 0.
|
Configure the extended option, setting not permitting the fragment
|
Set DF bit in IP header? [ no ]:[ yes | no ]
|
Optional. Only IPv4 protocol supports the command.
After enabling the extended option, the command can be configured.
By default, do not set the DF flag, permitting fragment.
|
Configure the extended option, validating the data content of the response packet
|
Validate reply data? [ no ]:[ yes | no ]
|
Optional. Only IPv4 protocol supports the command.
After enabling the extended option, the command can be configured.
By default, do not validate the data content.
|
Configure the extended option, the data content of the ICMP request packet
|
Data pattern [abcd]:[ data-pattern ]
|
Optional
After enabling the extended option, the command can be configured.
By default, the data content profile is “abcd”.
|
Configure the extended option, loose source route option, strict source route option, record route, record timestamp, display details
|
Loose, Strict, Record, Timestamp, Verbose [ none ]:[ l | s ] [ r / t / v ]
|
Optional, only IPv4 protocol supports the command.
After enabling the extended option, the command can be configured.
By default, do not configure the extended option.
|
Enable scanning the sent ICMP request packet
|
Sweep range of sizes [ no ]:[ yes |
no ]
|
Optional, only IPv4 protocol supports the command.
By default, scanning the sent packet is disabled.
|
Configure the start value of the scanning
|
Sweep min size [36]:[ min-szie ]
|
Optional, only IPv4 protocol supports the command.
After enabling scanning the sent packet, the command can be configured.
By default, the start value of the scanning is 36.
|
Configure the end value of the scanning
|
Sweep max size [18024]:[ max- size ]
|
Optional, only IPv4 protocol supports the command.
After enabling scanning the sent packet, the command can be configured.
By default, the end value of the scanning is 18024
|
Configure the scanning incremental value
|
Sweep interval [1]:[ interval ]
|
Optional, only IPv4 protocol supports the command.
After enabling scanning the sent packet, the command can be configured.
By default, the scanning incremental value is 1.
|