DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide
90
17.
IP Utility Commands
17-1
ping
This command is used to diagnose basic network connectivity.
ping {[ip]
IP-ADDRESS
} [count
TIMES
] [timeout
SECONDS
]
Parameters
ip
(Optional) Specifies the destination IPv4 address.
IP-ADDRESS
Specifies the IPv4 address of the destination host.
count
TIMES
(Optional) Specifies to stop after sending the specified number of
echo request packets.
timeout
SECONDS
(Optional) Specifies response timeout value, in seconds.
Default
If the
timeout
parameter is not specified, the timeout value will be 1 second.
Command Mode
EXEC Mode.
Command Default Level
Level: 1.
Usage Guideline
Use this command to verify the reachability, reliability, and delay of the path to the destination host. If
neither the count or timeout value is specified, the only way to stop the ping is by pressing Ctrl+C.
Example
This example shows how to ping the host with IP address 211.21.180.1 with count 4 times.
Switch#ping 211.21.180.1 count 4
Reply from 211.21.180.1, time=10ms
Reply from 211.21.180.1, time<10ms
Reply from 211.21.180.1, time<10ms
Reply from 211.21.180.1, time<10ms
Ping Statistics for 211.21.180.1
Packets: Sent =4, Received =4, Lost =0
Switch#