Reference Guide
traceroute
Displays the routes that packets take to travel to an IP address.
Syntax
traceroute [vrf management] host [-46dFITnreAUDV] [-f first_ttl] [-g gate,...]
[-i device] [-m max_ttl] [-N squeries] [-p port] [-t tos] [-l flow_label] [-w
waittime] [-q nqueries] [-s src_addr] [-z sendwait] [--fwmark=num] host
[packetlen]
Parameters
• vrf management— (Optional) Traces the route to an IP address in the management VRF instance.
• host — Enter the host to trace packets from.
• -i interface — (Optional) Enter the IP address of the interface through which traceroute sends packets.
By default, the interface is selected according to the routing table.
• -m max_ttl — (Optional) Enter the maximum number of hops (maximum time-to-live value) that
traceroute probes (default 30).
• -p port — (Optional) Enter a destination port:
– For UDP tracing, enter the destination port base that traceroute uses (the destination port number is
incremented by each probe).
– For ICMP tracing, enter the initial ICMP sequence value (incremented by each probe).
– For TCP tracing, enter the (constant) destination port to connect.
– -P protocol — (Optional) Use a raw packet of the specied protocol for traceroute. Default protocol is
253 (RFC 3692).
– -s source_address — (Optional) Enter an alternative source address of one of the interfaces. By
default, the address of the outgoing interface is used.
– -q nqueries — (Optional) Enter the number of probe packets per hop (default 3).
– -N squeries — (Optional) Enter the number of probe packets that are sent out simultaneously to
accelerate traceroute (default 16).
– -t tos — (Optional) For IPv4, enter the Type of Service (TOS) and Precedence values to use. 16 sets a
low delay; 8 sets a high throughput.
– -UL — (Optional) Use UDPLITE for tracerouting (default port is 53).
– -w waittime — (Optional) Enter the time (in seconds) to wait for a response to a probe (default 5
seconds).
– -z sendwait — (Optional) Enter the minimal time interval to wait between probes (default 0). A value
greater than 10 species a number in milliseconds, otherwise it species a number of seconds. This option
is useful when routers rate-limit ICMP messages.
– --mtu — (Optional) Discovers the MTU from the path being traced.
– --back — (Optional) Prints the number of backward hops when it seems dierent with the forward
direction.
– host — (Required) Enter the name or IP address of the destination device.
– packet_len — (Optional) Enter the total size of the probing packet (default 60 bytes for IPv4 and 80
for IPv6).
Default
Not congured
Command Mode EXEC
Usage Information None
Example
OS10# traceroute www.dell.com
traceroute to www.dell.com (23.73.112.54), 30 hops max, 60 byte packets
1 10.11.97.254 (10.11.97.254) 4.298 ms 4.417 ms 4.398 ms
2 10.11.3.254 (10.11.3.254) 2.121 ms 2.326 ms 2.550 ms
3 10.11.27.254 (10.11.27.254) 2.233 ms 2.207 ms 2.391 ms
70 Getting Started