Displays the route a packet takes to a specified destination.
|
|
Syntax:
traceroute [hops] <dest> [-n]
|
|
View
|
Normal
|
Parameters
|
[hops]: Specifies the maximum number of hops to the
destination
The minimum number of hops to specify is 6. The default is 30 hops.
<dest>: Specifies the host name or IP address of the
remote system to trace
[-n]: Do not resolve a host name
|
Examples:
|
|
To display the route to IP address 172.10.10.1 with a maximum of 30 hops:
traceroute 172.10.10.1
|
|
To display the route to IP address 172.10.10.1 with a maximum of 20 hops:
traceroute 20 172.10.10.1
|