ping
Test connectivity between the system and another device by sending echo requests and waiting for
replies.
S4810
Syntax
ping [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]
Parameters
host
ip-address
ipv6-address
count
datagram size
timeout
source
120
(OPTIONAL) Enter the host name of the devices to which
you are testing connectivity.
(OPTIONAL) Enter the IPv4 address of the device to which
you are testing connectivity. The address must be in the
dotted decimal format.
(OPTIONAL) 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.
Enter the number of echo packets to be sent. The default is
5.
•
number: from 1 to 2147483647
•
continuous: transmit echo request continuously
Enter the ICMP datagram size. The range is from 36 to 15360
bytes. The default is 100.
Enter the interval to wait for an echo reply before timing out.
The range is from 0 to 3600 seconds. The default is 2
seconds.
Enter the IPv4 or IPv6 source ip address or the source
interface. For IPv6 addresses, you may enter global
addresses only. Enter the IP address in A.B.C.D format.
•
For a Port Channel interface, enter the keyword port-
channel then a number: The range is from 1 to 128.
•
For a 10-Gigabit Ethernet interface, enter the keyword
TenGigabitEthernet then the slot/port information.
•
For a 40-Gigabit Ethernet interface, enter the keyword
fortyGigE then the slot/port information.
•
For a Tunnel interface, enter the keyword tunnel then a
number from 1 to 16383.
•
For a VLAN interface, enter the keyword vlan then a
number from 1 to 4094.
Control and Monitoring