10
-vpn-instance
vpn-instance-name
: Specifies the MPLS L3VPN instance to which the destination
belongs, where the
vpn-instance-name
argument is a case-sensitive string of 1 to 31 characters. If
the destination is on the public network, do not specify this option.
-w
timeout
: Specifies the timeout time (in milliseconds) of the reply packet of a probe packet. The
value range is 1 to 65535, and the default is 5000.
host
: Specifies the IPv6 address or host name of the destination. The host name is a
case-insensitive string of 1 to 253 characters. It can contain letters, digits, and special characters
such as hyphen (-), underscore (_), and dot (.).
Usage guidelines
After identifying network failure with the
ping ipv6
command, you can use the
tracert ipv6
command to locate failed nodes.
The output from the
tracert
ipv6
command includes IPv6 addresses of all the Layer 3 devices that
the packets traverse from source to destination. Asterisks (* * *) are displayed if the device cannot
reply with an ICMP error message. The reason might be the destination is unreachable or sending
ICMP timeout/destination unreachable packets is disabled.
To abort the tracert operation during the execution of the command, press
Ctrl+C
.
Examples
# Display the path that the packets traverse from source to destination (2001:3::2).
<Sysname> tracert ipv6 2001:3::2
traceroute to 2001:3::2(2001:3::2), 30 hops at most, 60 byte packets, press CTRL_C to break
1 2001:1::2 0.661 ms 0.618 ms 0.579 ms
2 2001:2::2 0.861 ms 0.718 ms 0.679 ms
3 2001:3::2 0.822 ms 0.731 ms 0.708 ms
Table 4 Command output
Field Description
traceroute to 2001:3::2
Display the route that the IPv6 packets traverse from the current device
to the device whose IP address is 2001:3:2.
hops at most
Maximum number of hops of the probe packets, which can be set by the
-m
keyword.
byte packets
Number of bytes of a probe packet.
1 2001:1::2 0.661 ms 0.618 ms
0.579 ms
Probe result of the probe packets whose
hoplimit
is 1, including the IPv6
address of the first hop, and the roundtrip time of three probe packets.
The number of packets that can be sent in each probe can be set by the
-q
keyword.