Reference Guide
Control and Monitoring | 45
ping
Test connectivity between the system and another device by sending echo requests and waiting for
replies.
Syntax
ping [host | ip-address] [count {number | continuous}] [datagram-size] [timeout] [source (ip
src-ipv4-address) | interface] [tos] [df-bit (y|n)] [validate-reply(y|n)] [pattern pattern]
[sweep-min-size] [sweep-max-size] [sweep-interval] [ointerface (ip src-ipv4-address) | interface]
Parameter
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.
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 Enter the IPv4 source ip address or the source interface.
• Enter the IP address in A.B.C.D format
• For a 10-Gigabit Ethernet interface, enter the keyword
TenGigabitEthernet
followed by the slot/port information.
• For a VLAN interface, enter the keyword
vlan followed by a number from 1 to
4094.
tos
Enter the type of service required.
Range: 0-255
Default: 0
df-bit
Enter Y or N for the don't fragment bit in IPv4 header
• N: Do not set the don't fragment bit
• Y: Do set don't fragment bit
Default is No.
validate-reply
Enter Y or N for reply validation.
• N: Do not validate reply data
• Y: Do validate reply data
Default is No.
pattern pattern
Enter the IPv4 data pattern.
Range: 0-FFFF
Default:
0xABCD
sweep-min-size
Enter the minimum size of datagram in sweep range.
Range: 52-15359 bytes
sweep-max-size
Enter the maximum size of datagram in sweep range.
Range: 53-15359 bytes