Using IP Traceroute
Executing IP Traceroute
Beginning in privileged EXEC mode, follow this step to trace that the path packets take through the
network:
Command
traceroute ip host
Though other protocol keywords are available with the traceroute privileged EXEC command, they are
Note
not supported in this release.
This example shows how to perform a traceroute to an IP host:
Switch# traceroute ip 171.9.15.10
Type escape sequence to abort.
Tracing the route to 171.69.115.10
1 172.2.52.1 0 msec 0 msec 4 msec
2 172.2.1.203 12 msec 8 msec 0 msec
3 171.9.16.6 4 msec 0 msec 0 msec
4 171.9.4.5 0 msec 4 msec 0 msec
5 171.9.121.34 0 msec 4 msec 4 msec
6 171.9.15.9 120 msec 132 msec 128 msec
7 171.9.15.10 132 msec 128 msec 128 msec
Switch#
The display shows the hop count, the IP address of the router, and the round-trip time in milliseconds
for each of the three probes that are sent.
Table 39-2
Character
*
?
A
H
N
P
Q
U
To end a trace in progress, enter the escape sequence (Ctrl-^ X by default). Simultaneously press and
release the Ctrl, Shift, and 6 keys and then press the X key.
Catalyst 2960 and 2960-S Switches Software Configuration Guide, Release 15.0(1)SE
39-18
Purpose
Trace the path that packets take through the network.
Traceroute Output Display Characters
Description
The probe timed out.
Unknown packet type.
Administratively unreachable. Usually, this output means that an access list is
blocking traffic.
Host unreachable.
Network unreachable.
Protocol unreachable.
Source quench.
Port unreachable.
Chapter 39
Troubleshooting
OL-26520-01