![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/c/f9/cf9abe3c-cbdc-4cee-9477-3b670eb02cf4/cf9abe3c-cbdc-4cee-9477-3b670eb02cf4-bg21e.png)
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
538
69
PING COMMANDS
The Ping commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the
following table.
Command Parameters
ping [<ipaddr> | <domain_name 255>] {times <value 1-255> | timeout <sec 1-99> |
source_ip <ipaddr>}
ping6 <ipv6addr> {times <value 1-255> | size <value 1-6000> | timeout <sec 1-99> |
source_ip <ipv6addr>}
enable broadcast_ping_reply
disable broadcast_ping_reply
show broadcast_ping_reply
Each command is listed, in detail, in the following sections.
ping
Purpose Used to test the connectivity between network devices.
Syntax
ping [<ipaddr> | <domain_name 255>] {times <value 1-255> | timeout <sec 1-99> |
source_ip <ipaddr>}
Description The ping command sends 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 - Specify the IP address of the host.
domain_name - Specify the domain name of the host.
times - The number of individual ICMP echo messages to be sent. A value of 0 will send an
infinite number of ICMP echo messages. The maximum value is 255. The default is 0,
indicating infinity. Press "CTRL+C” to terminate the ping test.
timeout - Specify 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.
source_ip - Specify the source IP address of the ping packets. If specified, , this IP address
will be used as the packets’ source IP address that ping sends to the remote host.
Restrictions None.
Example usage:
To send ICMP echo message to “10.51.17.1” for 4 times: