traceroute6
Syntax
traceroute6 {IPv6-address | hostname} [dstport | maxttl | probes | timeout] [vrf { | mgmt}]
Description
Uses traceroute for the specified IPv6 address or hostname with or without optional parameters.
Command context
Operator (>
) or Manager (#
)
Parameters
-
IPv6-address
-
Specifies the IPv6 address of the device to use traceroute.
-
hostname
-
Specifies the hostname of the device to use traceroute.
-
dstport
-
Specifies the destination port,<1-34000>. Default: 33434
-
maxttl
-
Specifies the maximum number of hops to reach the destination,<1-255>. Default: 30
-
probes
-
Specifies the number of probes,<1-5>. Default: 3
-
timeout
-
Specifies the traceroute timeout in seconds,<1-60>. Default: 3 seconds
-
vrf
-
Specifies the virtual routing and forwarding (VRF) to use,
. -
mgmt
-
Specifies use of the management interface.
Authority
Operators or Administrators or local user group members with execution rights for this command. Operators can execute this command from the operator context (>) only.
Usage
Traceroute is a computer network diagnostic tool for displaying the route (path), and measuring transit delays of packets across an Internet Protocol (IP) network. It sends a sequence of User Datagram Protocol (UDP) packets addressed to a destination host. The time-to-live (TTL) value, also known as hop limit, is used in determining the intermediate routers being traversed towards the destination.
Examples
switch#traceroute6 0:0::0:1traceroute to 0:0::0:1 (::1) from ::1, 30 hops max, 3 sec. timeout, 3 probes, 24 byte packets 1 localhost (::1) 0.117 ms 0.032 ms 0.021 ms switch#traceroute6 localhosttraceroute to localhost (::1) from ::1, 30 hops max, 3 sec. timeout, 3 probes, 24 byte packets 1 localhost (::1) 0.089 ms 0.03 ms 0.014 ms switch#traceroute6 0:0::0:1 maxttl 30traceroute to 0:0::0:1 (::1) from ::1, 30 hops max, 3 sec. timeout, 3 probes, 24 byte packets 1 localhost (::1) 0.117 ms 0.032 ms 0.021 ms switch#traceroute6 0时:0:1 dsrport 33434traceroute to 0:0::0:1 (::1) from ::1, 30 hops max, 3 sec. timeout, 3 probes, 24 byte packets 1 localhost (::1) 0.117 ms 0.032 ms 0.021 ms switch#traceroute6 0:0::0:1 probes 2traceroute to 0:0::0:1 (::1) from ::1, 30 hops max, 3 sec. timeout, 2 probes, 24 byte packets 1 localhost (::1) 0.117 ms 0.032 ms switch#traceroute6 0:0::0:1 timeout 3traceroute to 0:0::0:1 (::1) from ::1, 30 hops max, 3 sec. timeout, 3 probes, 24 byte packets 1 localhost (::1) 0.117 ms 0.032 ms 0.021 ms switch#traceroute6 localhost vrf redtraceroute to localhost (::1) from ::1, 30 hops max, 3 sec. timeout, 3 probes, 24 byte packets 1 localhost (::1) 0.077 ms 0.051 ms 0.054 ms switch#traceroute6 localhost mgmttraceroute to localhost (::1) from ::1, 30 hops max, 3 sec. timeout, 3 probes, 24 byte packets 1 localhost (::1) 0.089 ms 0.03 ms 0.014 ms switch#traceroute6 0:0::0:1 maxttl 30 timeout 3 probes 3 dstport 33434traceroute to 0:0::0:1 (::1) from ::1, 30 hops max, 3 sec. timeout, 3 probes, 24 byte packets 1 localhost (::1) 0.117 ms 0.032 ms 0.021 ms