Name
ping — command
Synopsis
ping
ping host
Description
The ping command sends a sequence of ICMP echo
request packets to the specified host. It
is one of the simplest and most commonly used troubleshooting tools.
If you omit the host from the command line and are in privileged EXEC
mode, the router prompts you for the rest of the information.
Ping prints a special character for each packet indicating whether the router received the corresponding echo reply. Table 15-14 shows what these special characters mean. Ping also summarizes the success rate and the round-trip times.
Table 17-1. Ping success codes
|
Character |
Meaning |
|---|---|
|
! |
Ping successful |
|
. |
Timed out waiting for reply |
|
? |
Unknown packet |
|
& |
TTL of packet was exceeded |
|
A |
Access list denied packet |
|
C |
Network congestion |
|
I |
User interrupt (if you hit CTRL+^) |
|
U |
Destination unreachable |
Example
Router# ping 10.10.1.2 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 10.10.1.2, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/3/4 ms
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access