26-9
Catalyst 2940 Switch Software Configuration Guide
78-15507-02
Chapter26 Troubleshooting Diagnosing Connectivity Problems
Executing Ping
If you attempt to ping a host in a different IP subnetwork, you must d efine a static route to the network.
Beginning in privileged EXEC mode, use this command to ping another device on the network from the
switch:
Note Though other protocol keywords are available with the ping command, they are not supp orted i n this
release.
This example shows how to ping an IP host:
Switch# ping 172.20.52.3
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echoes to 172.20.52.3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms
Switch#
Table26-1 describ es the po ssible pi ng c hara cter outp ut .
To terminate a ping session, enter the escape sequence (Ctrl-^ X by default). You enter the default by
simultaneously pressing and releasing the Ctrl, Shift, and 6 keys, and then pressing the X key.
Command Purpose
ping [ip] {host | address} Ping a remote host through IP or by supplying the host name or
network address.
Table26-1 Ping Output Display Characters
Character Description
! Each exclamation point means receipt of a reply.
. Each period means the network server t ime d out whi le waiting fo r a re ply.
U A destination unreachable error PDU was received.
C A congestion experienced packet was received.
I User interrupted test.
? Unknown packet type.
& Packet lifetime exceeded.