5
90
•
time_out
timeout
packet. The default is 3 seconds. (Range: 1–60)
•
ip-address
source
a source address for the probes. The device selects the optimal source
address by default. (Range: Valid IP address)
•
tos
tos
—The Type-Of-Service byte in the IP Header of the packet. (Range:
0–255)
Default Usage
N/A
Command Mode
EXEC mode
User Guidelines
The traceroute command works by taking advantage of the error messages
generated by routers when a datagram exceeds its time-to-live (TTL) value.
The traceroute command starts by sending probe datagrams with a TTL value of
one. This causes the first router to discard the probe datagram and send back an
error message. The traceroute command sends several probes at each TTL level
and displays the round-trip time for each.
The traceroute command sends out one probe at a time. Each outgoing packet can
result in one or two error messages. A "time exceeded" error message indicates
that an intermediate router has seen and discarded the probe. A "destination
unreachable" error message indicates that the destination node has received the
probe and discarded it because it could not deliver the packet. If the timer goes
off before a response comes in, the traceroute command prints an asterisk (*).
The traceroute command terminates when the destination responds, when the
maximum TTL is exceeded, or when the user interrupts the trace with Esc.
The traceroute command is not relevant to IPv6 link local addresses.
Example
switchxxxxxx# traceroute ip umaxp1.physics.lsa.umich.edu
Type Esc to abort.
Tracing the route to umaxp1.physics.lsa.umich.edu (141.211.101.64)
1 i2-gateway.stanford.edu (192.68.191.83)
—The number of seconds to wait for a response to a probe
—One of the interface addresses of the device to use as
0 msec 0 msec 0 msec
78-21075-01 Command Line Interface Reference Guide
System Management Commands