API Guide
Parameters
● vrf management— (Optional) Traces the route to an IP address in the management VRF instance.
● vrf vrf-name — (Optional) Traces the route to an IP address in the specified 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 for the maximum time-to-live
value that traceroute probes. The default is 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 specified protocol for traceroute. The
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. The default is 3.
○ -N squeries — (Optional) Enter the number of probe packets sent out simultaneously to
accelerate traceroute. The default is 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. The default port is 53.
○ -w waittime — (Optional) Enter the time in seconds to wait for a response to a probe. The
default is 5 seconds.
○ -z sendwait — (Optional) Enter the minimal time interval to wait between probes. The default
is 0. A value greater than 10 specifies a number in milliseconds, otherwise it specifies a number of
seconds. This option is useful when routers rate-limit ICMP messages.
○ --mtu — (Optional) Discovers the maximum transmission unit (MTU) from the path being traced.
○ --back — (Optional) Prints the number of backward hops when different from 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. The default is 60 bytes for
IPv4 and 80 for IPv6.
Default
Not configured
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
4 Host65.hbms.com (63.80.56.65) 3.583 ms 3.776 ms 3.757 ms
5 host33.30.198.65 (65.198.30.33) 3.758 ms 4.286 ms 4.221 ms
6 3.GigabitEthernet3-3.GW3.SCL2.ALTER.NET (152.179.99.173) 4.428 ms
2.593 ms 3.243 ms
7 0.xe-7-0-1.XL3.SJC7.ALTER.NET (152.63.48.254) 3.915 ms 3.603 ms
3.790 ms
8 TenGigE0-4-0-5.GW6.SJC7.ALTER.NET (152.63.49.254) 11.781 ms 10.600
ms 9.402 ms
9 23.73.112.54 (23.73.112.54) 3.606 ms 3.542 ms 3.773 ms
Example (IPv6)
OS10# traceroute 20::1
traceroute to 20::1 (20::1), 30 hops max, 80 byte packets
1 20::1 (20::1) 2.622 ms 2.649 ms 2.964 ms
CLI Basics 95