Understanding Ping; Executing Ping - Cisco WS-C2960-24LC-S Software Configuration Manual

Software guide
Table of Contents

Advertisement

Chapter 32
Troubleshooting

Understanding Ping

The switch supports IP ping, which you can use to test connectivity to remote hosts. Ping sends an echo
request packet to an address and waits for a reply. Ping returns one of these responses:

Executing Ping

Beginning in privileged EXEC mode, use this command to ping another device on the network from the
switch:
Command
ping ip host | address
Note
Though other protocol keywords are available with the ping command, they are not supported in 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#
Table 32-1
Table 32-1
Character
!
.
U
C
I
OL-8603-04
Normal response—The normal response (hostname is alive) occurs in 1 to 10 seconds, depending
on network traffic.
Destination does not respond—If the host does not respond, a no-answer message is returned.
Unknown host—If the host does not exist, an unknown host message is returned.
Destination unreachable—If the default gateway cannot reach the specified network, a
destination-unreachable message is returned.
Network or host unreachable—If there is no entry in the route table for the host or network, a
network or host unreachable message is returned.
describes the possible ping character output.
Ping Output Display Characters
Description
Each exclamation point means receipt of a reply.
Each period means the network server timed out while waiting for a reply.
A destination unreachable error PDU was received.
A congestion experienced packet was received.
User interrupted test.
Purpose
Ping a remote host through IP or by supplying the hostname or
network address.
Catalyst 2960 Switch Software Configuration Guide
Using Ping
32-13

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ws-c2960s-24td-lWs-c2960s-48lpd-lCatalyst 2960

Table of Contents