Juniper Networks J-Series Network Router User Manual


 
Table 121: CLI traceroute Command Options (continued)
DescriptionOption
(Optional) Bypasses the routing tables and sends the traceroute packets only to hosts on directly
attached interfaces. If the host is not on a directly attached interface, an error message is returned.
Use this option to display a route to a local system through an interface that has no route through
it.
bypass-routing
(Optional) Uses the gateway you specify to route through.
gateway address
(Optional) Forces the traceroute packets to an IPv4 destination.
inet
(Optional) Forces the traceroute packets to an IPv6 destination.
inet6
(Optional) Suppresses the display of the hostnames of the hops along the path.
no-resolve
(Optional) Uses the routing instance you specify for the traceroute.
routing-instance
routing-instance-name
(Optional) Uses the source address that you specify, in the traceroute packet.
source address
(Optional) Sets the type-of-service (TOS) value in the IP header of the traceroute packet. Specify
a value from 0 through 255.
tos number
(Optional) Sets the time-to-live (TTL) value for the traceroute packet. Specify a hop count from
0 through 128.
ttl number
(Optional) Sets the maximum time to wait for a response.
wait seconds
Following is sample output from a traceroute command:
user@host> traceroute host2
traceroute to 173.24.232.66 (172.24.230.41), 30 hops max, 40 byte packets
1 173.18.42.253 (173.18.42.253) 0.482 ms 0.346 ms 0.318 ms
2 host4.site1.net (173.18.253.5) 0.401 ms 0.435 ms 0.359 ms
3 host5.site1.net (173.18.253.5) 0.401 ms 0.360 ms 0.357 ms
4 173.24.232.65 (173.24.232.65) 0.420 ms 0.456 ms 0.378 ms
5 173.24.232.66 (173.24.232.66) 0.830 ms 0.779 ms 0.834 ms
The fields in the display are the same as those displayed by the J-Web traceroute
diagnostic tool. For information, see Traceroute Results and Output
Summary on page 225.
Using the traceroute monitor Command
To display real-time monitoring information about each router between the Services
Router and a specified destination host, enter the traceroute monitor command with
the following syntax. Table 122 on page 239 describes the traceroute monitor command
options.
user@host> traceroute monitor host <count number> <inet | inet6> <interval seconds>
<no-resolve> <size bytes><source source-address> <summary>
238 Using CLI Diagnostic Commands
J-series Services Router Administration Guide