traceroute
Syntax
traceroutehost-name<as-number-lookup> <bypass-routing><gatewayaddress><inet><inet6><logical-routerlogical-router-name><noresolve><routing-instancerouting-instance-name> <sourceaddress> <tosvalue><ttlvalue><interfaceinterface-name> <waitseconds>Description
Display the route packets take to a specified network host. Use
tracerouteas a debugging tool to locate points of failure in a network.Options
host-name—IP address or name of remote host.
as-number-lookup—(Optional) Display the autonomous system (AS) number of each intermediate hop on the path from the host to the destination.
bypass-routing—(Optional) Bypass the normal routing tables and send ping requests directly to a system on an attached network. If the system is not on a directly attached network, an error is returned. Use this option to ping a local system through an interface that has no route through it.
xgatewayaddress—(Optional) Address of a router through which the route should transit.
inet—(Optional) Trace the route belonging to IPv4.
inet6—(Optional) Trace the route belonging to IPv6.
logical-routerlogical-router-name—(Optional) Name of a particular logical router for the traceroute attempt.
noresolve—(Optional) Do not attempt to determine the hostname that corresponds to the IP address.
routing-instancerouting-instance-name—(Optional) Name of the routing instance for the traceroute attempt.
sourceaddress—(Optional) Source address of the outgoing traceroute packets.
tosvalue—(Optional) Value to include in the IP type-of-service field.
Range:0through255
ttlvalue—(Optional) Maximum time-to-live value to include in thetracerouterequest.
Range:0through128
interfaceinterface-name—(Optional) Name of the interface over which to send packets.
waitseconds—(Optional) Maximum time to wait for a response to the traceroute request.Required Privilege Level
Sample Output: traceroute
user@host>traceroute santacruztraceroute to green.company.net (10.156.169.254), 30 hops max, 40 byte packets1 blue23 (10.168.1.254) 2.370 ms 2.853 ms 0.367 ms2 red14 (10.168.255.250) 0.778 ms 2.937 ms 0.446 ms3 yellow (10.156.169.254) 7.737 ms 89.905 ms 0.834 msSample Output: traceroute nnoresolve
user@host>traceoute santacruz noresolvetraceroute to green.company.net (10.156.169.254), 30 hops max, 40 byte packets1 10.168.1.254 0.458 ms 0.370 ms 0.365 ms2 10.168.255.250 0.474 ms 0.450 ms 0.444 ms3 10.156.169.254 0.931 ms 0.876 ms 0.862 msSample Output: traceroute through an MPLS LSP
user@host>traceroute mpls1traceroute to 10.168.1.224 (10.168.1.224), 30 hops max, 40 byte packets1 mpls1-sr0.company.net (10.168.200.101) 0.555 ms 0.393 ms 0.367 msMPLS Label=1024 CoS=0 TTL=12 mpls5-lo0.company.net (10.168.1.224) 0.420 ms 0.394 ms 0.401 msSample Output: traceroute as-number-lookup (host)
user@host>traceroute as-number-lookup 10.100.1.1traceroute to 10.100.1.1 (10.100.1.1), 30 hops max, 40 byte packets1 10.39.1.1 (10.39.1.1) 0.779 ms 0.728 ms 0.562 ms2 10.39.1.6 (10.39.1.6) [AS 32] 0.657 ms 0.611 ms 0.617 ms3 10.100.1.1 (10.100.1.1) [AS 10, 40, 50] 0.880 ms 0.808 ms 0.774 ms