DXS-1210 Series Smart Managed Switch CLI Reference Guide
168
22.
IP Utility Commands
22-1
ping
This command is used to diagnose basic network connectivity.
ping {IP-ADDRESS | IPV6-ADDRESS [VLAN-ID]} [count TIMES] [timeout SECONDS] [source
{IP-ADDRESS | IPV6-ADDRESS}]
Parameters
IP-ADDRESS
Specifies the IPv4 address of the destination host.
IPV6-ADDRESS
Specifies the IPv6 address of the system to discover.
VLAN-ID
(Optional) The ip address vlan ID to get the interface index
count TIMES
(Optional) Specifies to stop after sending the specified number of echo
request packets.
timeout SECONDS
(Optional) Specifies response timeout value, in seconds.
source {IP-ADDRESS | IPV6-
ADDRESS}
Specifies the source IP address used for the ping packet. The
specified IP address must one of the IP address configured for the
Switch. The destination address and the source IP must be the same
type of address, both are IPv4 or IPv6.
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#
This example shows how to ping the host with IPv6 address 2001:238:f8a:77:7c10:41c0:6ddd:ecab.
Содержание DXS-1210-10TS
Страница 1: ......
Страница 246: ...DXS 1210 Series Smart Managed Switch CLI Reference Guide 243 ...
Страница 260: ...DXS 1210 Series Smart Managed Switch CLI Reference Guide 257 ...