Reference Guide
Control and Monitoring | 93
Syntax
ping [vrf <id>] [host | ip-address | ipv6-address] [count {number | continuous}] 
[
datagram-size] [timeout] [source (ip src-ipv4-address) | interface] [tos] [df-bit (y|n)] 
[
validate-reply(y|n)] [outgoing-interface] [pattern pattern] [sweep-min-size] 
[
sweep-max-size] [sweep-interval] [ointerface (ip src-ipv4-address) | interface]
Parameter
Defaults
 None
Command Modes
EXEC
EXEC Privilege
vrf (OPTIONAL) E-Series Only: Enter the VRF Instance name of the device 
to which you are testing connectivity.
host (OPTIONAL) Enter the host name of the devices to which you are testing 
connectivity. 
ip-address (OPTIONAL) Enter the IPv4 address of the device to which you are 
testing connectivity. The address must be in the dotted decimal format. 
ipv6-address  (OPTIONAL) E-Series only Enter the IPv6 address, in the x:x:x:x::x 
format, to which you are testing connectivity.
Note: The :: notation specifies successive hexadecimal fields of zeros
count Enter the number of echo packets to be sent.
number: 1- 2147483647
Continuous: transmit echo request continuously
Default: 5
datagram size Enter the ICMP datagram size.
Range: 36 - 15360 bytes
Default: 100
timeout Enter the interval to wait for an echo reply before timing out.
Range: 0 -3600 seconds
Default: 2 seconds
source The IPv4 or IPv6 source address or source interface. For IPv6 addresses, 
this may be an address in the Global or link-local address zones. 
tos (IPv4 only) Type of service required. 
df-bit (IPv4 only) Enter “Y” or “N” for the “don’t fragment bit” in IPv4 header
outgoing-interface 
(IPv6 link-local address) Enter outgoing interface for ping packets to a 
destination link-local address. 
validate-reply (IPv4 only) Enter “Y” or “N” for reply validation.
pattern 
pattern (IPv4 only) Enter the IPv4 data pattern.
Range: 0 - FFFF
Default: 0xABCD
sweep-min-size The minimum size of datagram in sweep range. 
Range: 52 - 15359 bytes
swim-max-size  The maximum size of datagram in sweep range. 
Range: 52 - 15359 bytes
sweep-interval Incremental value for sweep size. 
Range: 1 - 15308 seconds.
ointerface (IPv4 only) The outgoing interface for multicast packets. 










