DGS-3200 Series Layer 2 Gigabit Managed Switch CLI Manual
56
Format
ping <ipaddr> {times <value 0-255>} {timeout <sec 1-99>}
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
Parameters
Description
ipaddr
Specify the IP address of the host.
value
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.
sec
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
You must have administrator privileges.
Example
To send ICMP echo message to “10.51.17.1” for 4 times:
D G S - 3 2 0 0 - 1 0 : 4 # p i n g 1 0 . 5 1 . 1 7 . 1 t i m e s 4
C o m m a n d : p i n g 1 0 . 5 1 . 1 7 . 1 t i m e s 4
R e p l y f r o m 1 0 . 5 1 . 1 7 . 1 , t i m e < 1 0 m s
R e p l y f r o m 1 0 . 5 1 . 1 7 . 1 , t i m e < 1 0 m s
R e p l y f r o m 1 0 . 5 1 . 1 7 . 1 , t i m e < 1 0 m s
R e p l y f r o m 1 0 . 5 1 . 1 7 . 1 , t i m e < 1 0 m s
P i n g S t a t i s t i c s f o r 1 0 . 5 1 . 1 7 . 1
P a c k e t s : S e n t = 4 , R e c e i v e d = 4 , L o s t = 0
D G S - 3 2 0 0 - 1 0 : 4 #