D-Link xStack DGS-3420 Series Reference Manual page 1001

Layer 2 managed stackable gigabit switch cli
Hide thumbs Also See for xStack DGS-3420 Series:
Table of Contents

Advertisement

xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide
DGS-3420-28SC:admin#
29-16 ping
Description
This 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.
Format
ping [<ipaddr> | <domain_name 255>] {times <value 1-255> | timeout <sec 1-99> | source_ip
<ipaddr>}
Parameters
<ipaddr> - Specify the IP address of the host.
<domain_name 255> - Specifies the domain name of the host. This name can be up to 255
characters long.
times – (Optional) Specify the number of individual ICMP echo messages to be sent.
<value 1-255> - Specify 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
timeout – (Optional) 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.
<sec 1-99> - 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 - Specifies the source IP address of the ping packets. If specified, the IP address will be
used as the packets' source IP address that ping send to remote host.
<ipaddr> - Enter the source IP addres used here.
Restrictions
None.
Example
To send ICMP echo message to "10.51.17.1" for 4 times:
DGS-3420-28SC:admin#ping 10.51.17.1 times 4
Command: ping 10.51.17.1 times 4
Reply from 10.51.17.1, time<10ms
Reply from 10.51.17.1, time<10ms
Reply from 10.51.17.1, time<10ms
Reply from 10.51.17.1, time<10ms
Ping Statistics for 10.51.17.1
Packets: Sent =4, Received =4, Lost =0
996

Advertisement

Table of Contents
loading

Table of Contents