Command Line Reference Guide

ping
Test connectivity between the system and another device by sending echo requests and waiting for replies.
S5000
Syntax
ping [host | ip-address | [count {number | continuous}]
[datagram-size] [timeout] [ip src-ipv4-address | source-
interface-type slot/port] [tos] [df-bit (y|n)] [validate-
reply(y|n)] [outgoing-interface] [pattern pattern] [sweep-min-
size
] [sweep-max-size] [sweep-interval] [outgoing-interface (ip
src-ipv4-address) | outgoing-interface-type slot/port]
Parameters
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. Default: 5.
number: 1- 2147483647
continuous: transmit echo request continuously
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-interface-
type slot/port
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 slot/port numbers.
The port range is 0 to 63.
For a 40-Gigabit Ethernet interface, enter the keyword
fortyGigE followed by slot/port numbers. The ports are 48,
52, 56, and 60.
For a Port Channel interface, enter the keywords port-
channel
followed by a number from 1 to 128.
For a VLAN interface, enter the keyword vlan followed by a
VLAN id number from 1 to 4094.
tos
(IPv4 only) Enter the type of service required. Range: 0-255. Default: 0.
df-bit
(IPv4 only) 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
(IPv4 only) Enter Y or N for reply validation.
100