Tracing the route from the switch to a host address
The
traceroute
command enables you to trace the route from the switch to a host address.
This command outputs information for each (router) hop between the switch and the destination address. Note that every time you execute
traceroute
, it uses the same default settings unless you specify otherwise for that instance of the command.
Syntax:
traceroute {< ip-address | hostname >} [maxttl <1-255>] [minttl <1-255>] [probes <1-5>] [source {<ip-address | source-vlan <vid> | loopback <0-7>}] [dstport <1-34000>] [srcport <1-34000>] [ip-option {<record-route | loose-source-route | strict-source-route | include-timestamp | include-timestamp-and-address | include timestamp-from>}] [< timeout 1-120 >]
Lists the IP address or hostname of each hop in the route, plus the time in microseconds for the
traceroute
packet reply to the switch for each hop.
|
The IP address or hostname of the device to which to send the traceroute. |
|
For the current instance of
traceroute , changes the minimum number of hops allowed for each probe packet sent along the route.
traceroute , if you want a
minttl value other than the default, you must specify that value.(Default: 1)
|
|
For the current instance of
|
|
For the current instance of
|
|
The source IPv4 address, VLAN ID, or Loopback address. |
|
Destination port. |
|
Source port. |
|
Specify an IP option, such as loose or strict source routing, or an include-timestamp option: |
For information about
traceroute6
, see the
IPv6 configuration guide
for your switch.