Operation Manual
IP Services Commands
Mobility System Software Command Reference Guide
Version 7.3
8 – 146
traceroute
Traces the route from the MX to an IP host.
Syntax
traceroute host [dnf] [no-dns] [port port-num] [queries num] [size size]
[ttl hops] [wait ms]
Defaults
● dnf—Disabled
● no-dns—Disabled
● port—33434
● queries—3
● size—38
● ttl—30
● wait—5000
Access
All.
History
Introduced in MSS Version 1.0.
Usage
To stop a traceroute command that is in progress, press Ctrl+C.
Examples
The following example traces the route to host server1:
MX# traceroute server1
traceroute to server1.example.com (192.168.22.7), 30 hops max, 38 byte packets
1 engineering-1.example.com (192.168.192.206) 2 ms 1 ms 1 ms
2 engineering-2.example.com (192.168.196.204) 2 ms 3 ms 2 ms
3 gateway_a.example.com (192.168.1.201) 6 ms 3 ms 3 ms
4 server1.example.com (192.168.22.7) 3 ms * 2 ms
The first row of the display indicates the target host, the maximum number of hops, and the packet
size. Each numbered row displays information about one hop. The rows are displayed in the order
that the hops occur, beginning with the hop closest to the MX.
The row for a hop lists the total time in milliseconds for each ICMP packet to reach the router or host,
plus the time for the ICMP Time Exceeded message to return to the host.
An exclamation point (!) following any of these values indicates that the Port Unreachable message
returned by the destination has a maximum hop count of 0 or 1. This can occur if the destination uses
the maximum hop count value from the arriving packet as the maximum hop count in its ICMP reply.
The reply does not arrive at the source until the destination receives a traceroute packet with a
maximum hop count equal to the number of hops between the source and destination.
An asterisk (*) indicates that the timeout period expired before MSS received a Time Exceeded
message for the packet.
host IP address, hostname, or alias of the destination host. Specify the IP address in dotted
decimal notation.
dnf Sets the Do Not Fragment bit in the ping packet to prevent the packet from being
fragmented.
no-dns Prevents MSS from performing a DNS lookup for each hop to the destination host.
port port-num TCP port number listening for the traceroute probes.
queries num Number of probes per hop.
size size Probe packet size in bytes. You can specify from 40 through 1460.
ttl hops Maximum number of hops, which can be from 1 through 255.
wait ms Probe wait in milliseconds. You can specify from 1 through 100,000.