xStack® DES-3200 Series Layer 2 Ethernet Managed Switch CLI Reference Guide
78
ping
Purpose
Used to test the connectivity between network devices.
Syntax
ping <ipaddr> {times <value 0-255>} {size <value 1-60000>}
{timeout <sec 1-99>}
Description
The command is used to send Internet Control Message Protocol
(ICMP) echo messages to a remote IP address. The remote IP
address will then “echo” or return the message. This is used to
confirm connectivity between the Switch and the remote device.
Parameters
<ipaddr> − Specifies the IP address of the host.
times <value 0-255> − The number of individual ICMP echo
messages to be sent. A value of 0 will send an infinite ICMP echo
messages. The maximum value is 255. The default is 0.
size <value 1-60000> − The size of the test packet. The value is
between 1 and 60000.
timeout <sec 1-99> − Defines the time-out period while waiting for a
response from the remote device. A value of 1 to 99 seconds can be
specified. The default is 1 second.
Restrictions
None.
Example usage:
To ping the IP address 10.48.74.121 four times:
DES-3200-28:4#ping 10.48.74.121 times 4
Command: ping 10.48.74.121
Reply from 10.48.74.121, time<10ms
Reply from 10.48.74.121, time<10ms
Reply from 10.48.74.121, time<10ms
Reply from 10.48.74.121, time<10ms
Ping statistics for 10.48.74.121
Packets: Sent =4, Received =4, Lost =0
DES-3200-28:4#