EasyManua.ls Logo

Cisco WS-C6506 - Executing Ping

Cisco WS-C6506
1488 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
20-16
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
OL-8978-04
Chapter 20 Checking Status and Connectivity
Using Ping
Ping returns one of the following responses:
Normal response—The normal response (hostname is alive) occurs in 1 to 10 seconds depending on
the 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.
Executing Ping
To ping another device on the network from the switch, perform one of these tasks in normal or
privileged mode:
This example shows how to ping a remote host from normal EXEC mode:
Console> ping labsparc
labsparc is alive
Console> ping 72.16.10.3
12.16.10.3 is alive
Console>
This example shows how to ping a remote host using the ping -s option:
Console> ping -s 12.20.5.3 800 10
PING 12.20.2.3: 800 data bytes
808 bytes from 12.20.2.3: icmp_seq=0. time=2 ms
808 bytes from 12.20.2.3: icmp_seq=1. time=3 ms
808 bytes from 12.20.2.3: icmp_seq=2. time=2 ms
808 bytes from 12.20.2.3: icmp_seq=3. time=2 ms
808 bytes from 12.20.2.3: icmp_seq=4. time=2 ms
808 bytes from 12.20.2.3: icmp_seq=5. time=2 ms
808 bytes from 12.20.2.3: icmp_seq=6. time=2 ms
808 bytes from 12.20.2.3: icmp_seq=7. time=2 ms
808 bytes from 12.20.2.3: icmp_seq=8. time=2 ms
808 bytes from 12.20.2.3: icmp_seq=9. time=3 ms
----17.20.2.3 PING Statistics----
10 packets transmitted, 10 packets received, 0% packet loss
round-trip (ms) min/avg/max = 2/2/3
Console>
Task Command
Ping a remote host. ping host
Ping a remote host using ping options. ping -s host [packet_size] [packet_count]

Table of Contents

Related product manuals