[Contents] [Prev] [Next] [Index] [Report an Error]


traceroute

Syntax

traceroute host-name <as-number-lookup> <bypass-routing> <gateway address> 
<inet><inet6> <logical-router logical-router-name> <noresolve> 
<routing-instance routing-instance-name> <source address> <tos value> <ttl value>
<interface interface-name> <wait seconds>

Description

Display the route packets take to a specified network host. Use traceroute as 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.

xgateway address—(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-router logical-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-instance routing-instance-name—(Optional) Name of the routing instance for the traceroute attempt.

source address—(Optional) Source address of the outgoing traceroute packets.

tos value—(Optional) Value to include in the IP type-of-service field.
Range: 0 through 255

ttl value—(Optional) Maximum time-to-live value to include in the traceroute request.
Range: 0 through 128

interface interface-name—(Optional) Name of the interface over which to send packets.

wait seconds—(Optional) Maximum time to wait for a response to the traceroute request.

Required Privilege Level

network

Sample Output: traceroute

user@host> traceroute santacruz
traceroute to green.company.net (10.156.169.254), 30 hops max, 40 byte packets
 1  blue23 (10.168.1.254)    2.370 ms  2.853 ms  0.367 ms
 2  red14  (10.168.255.250)  0.778 ms  2.937 ms  0.446 ms
 3  yellow (10.156.169.254)  7.737 ms  89.905 ms  0.834 ms

Sample Output: traceroute nnoresolve

user@host> traceoute santacruz noresolve
traceroute to green.company.net (10.156.169.254), 30 hops max, 40 byte packets
 1  10.168.1.254  0.458 ms  0.370 ms  0.365 ms
 2  10.168.255.250  0.474 ms  0.450 ms  0.444 ms
 3  10.156.169.254  0.931 ms  0.876 ms  0.862 ms

Sample Output: traceroute through an MPLS LSP

user@host> traceroute mpls1 
traceroute to 10.168.1.224 (10.168.1.224), 30 hops max, 40 byte packets
 1  mpls1-sr0.company.net (10.168.200.101)  0.555 ms  0.393 ms  0.367 ms
     MPLS Label=1024 CoS=0 TTL=1
 2  mpls5-lo0.company.net (10.168.1.224)  0.420 ms  0.394 ms  0.401 ms

Sample Output: traceroute as-number-lookup (host)

user@host> traceroute as-number-lookup 10.100.1.1
traceroute to 10.100.1.1 (10.100.1.1), 30 hops max, 40 byte packets
 1  10.39.1.1 (10.39.1.1)  0.779 ms  0.728 ms  0.562 ms
 2  10.39.1.6 (10.39.1.6) [AS  32]  0.657 ms  0.611 ms  0.617 ms
 3  10.100.1.1 (10.100.1.1) [AS  10, 40, 50]  0.880 ms  0.808 ms  0.774 ms



[Contents] [Prev] [Next] [Index] [Report an Error]