Switch User Manual

313
System Management
ping
The
ping
User EXEC mode command sends ICMP echo request packets to another node on the
network.
Syntax
ping
ip-address
|
hostname
[
size
packet_size
] [
count
packet_count
] [
timeout
time_out
]
ip-address
—IP address to ping.
hostname
—hostname to ping. (Range: 1 - 158 characters)
packet_size
—Number of bytes in a packet. The actual packet size is eight bytes larger
than the size specified because the switch adds header information. (Range: 56 - 1472
bytes)
packet_count
—Number of packets to send. If 0 is entered it pings until stopped. (Range:
0 - 65535 packets)
time_out
—Timeout in milliseconds to wait for each reply. (Range: 50 - 65535
milliseconds).
Default Configuration
timeout
time_out—
The default is 2000 milliseconds.
Command Mode
User EXEC mode
User Guidelines
Press
Esc
to stop pinging. Following are sample results of the
ping
command:
Destination (host/network) unreachable—The gateway for this destination indicates that
the destination is unreachable.
Console# ping 180.50.1.1
Pinging 180.50.1.1 with 56 bytes of data:
PING: net-unreachable
PING: net-unreachable
PING: net-unreachable