Use this command to display a hop-by-hop path through an IP network from the device to a specific destination host.
-d ip-address | (Optional) Performs a reverse lookup (finds a hostname that matches the specified IP address). |
-F | (Optional) Specifies that the traceroute packet should not be fragmented. |
-f first-TTL | (Optional) Specifies the maximum Time-To-Live (TTL) used in the first outgoing probe packets. Default value: 1. |
-I | (Optional) Specifies that ICMP echo requests should be used instead of UDP datagrams. |
-i source-interface | (Optional) Specifies the IP source interface (for example vlan.0.5 for VLAN 5). |
-m max-ttl | (Optional) Specifies the maximum Time-To-Live (TTL) for outgoing packets. Default value: 30. |
-n host-ip-address | (Optional) Specifies that name server contact should be avoided. All hops are listed numerically. |
-p udp-dest-port | (Optional) Specifies the initial UDP destination port. For each sent probe the UDP destination port is increased by one. Valid values: 1-65535. Default value: 33434. |
-q number-of-probes | (Optional) Specifies the number of probes to send out for each hop. Valid values: 1 - 255. Default value: 3. |
-r | (Optional) Specifies that normal host routing tables should be bypassed. |
-s source-ip-address | (Optional) Specifies the source IP address for the traceroute probes. |
-t tos | (Optional) Specifies the Type-of-Service (ToS) for IPv4 or the traffic class for IPv6. Valid Values 0 - 255. Default value: 0. |
-v version | (Optional) Forces traceroute to use either IPv4: 4 or IPv6: 6. The IP version is auto-detected by default (not configurable). |
-V router | (Optional) Specifies the virtual router to use for this traceroute. The default value is 0 (default router). |
-w period | (Optional) Specifies the time in seconds to wait for a response to a probe. Valid values: 0 - 255. Default value: 5. |
-x | (Optional) Specifies that traceroute should not calculate checksum. |
host host | Specifies an IP address or a host to find a route to. |
All command modes.
Possible annotations returned after the probe response time (-w) are:
These annotations are defined by RFC1812 which supersedes RFC1716. If almost all the probes result in an unreachable device or type, traceroute will give up and exit.
This example shows how to use traceroute to display a round trip path to host 192.167.252.17. In this case, hop 1 is the Extreme Networks S- K- and 7100-Series switch, hop 2 is 14.1.0.45, and hop 3 is back to the host IP address. Round trip times for each of the three UDP probes are displayed next to each hop:
System(rw)->traceroute 192.167.252.17 traceroute to 192.167.252.17 (192.167.252.17), 30 hops max, 40 byte packets 1 matrix.extremenetworks.com (192.167.201.40) 20.000 ms 20.000 ms 20.000 ms 2 14.1.0.45 (14.1.0.45) 40.000 ms 10.000 ms 20.000 ms 3 192.167.252.17 (192.167.252.17) 50.000 ms 0.000 ms 20.000 ms