12
•
global
: Specifies the global routing table.
•
none
: Disables AS resolution.
•
vpn
: Specifies the VPN routing table.
-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.
If the destination address is on the public network, you do not need to specify the
-resolve-as
keyword to obtain the AS information. The device automatically uses the global routing table for AS
resolution.
If the destination address is on a private network, address information of intermediate hops might be
stored in either the global routing table or the VPN routing table. To learn the AS path that the
packets traverse, execute the
tracert
ipv6
command twice, once with the
-resolve-as global
keywords and again with the
-resolve-as vpn
keywords.
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 [AS 100] 0.861 ms 0.718 ms 0.679 ms
3 2001:3::2 [AS 200] 0.822 ms 0.731 ms 0.708 ms
# Display the path that the packets traverse from source to destination (2001:3::2) in VPN instance
vpn1, as well as the AS information of the hops along the path.
<Sysname> tracert ipv6 –vpn-instance vpn1 –resolve-as vpn 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 [AS 65535] 0.822 ms 0.731 ms 0.708 ms