8
<Sysname> tracert 1.1.2.2
traceroute to 1.1.2.2 (1.1.2.2), 30 hops at most, 40 bytes each packet, press CTRL_C to
break
1 1.1.1.2 (1.1.1.2) 673 ms 425 ms 30 ms
2 1.1.2.2 (1.1.2.2) [AS 100] 580 ms 470 ms 80 ms
Table 3 Command output
Field Description
traceroute to 1.1.2.2 (1.1.2.2)
Display the route that the IP packets traverse from the current device to the
device whose IP address is 1.1.2.2.
hops at most
Maximum number of hops of the probe packets, which can be set by the
-m
keyword.
bytes each packet Number of bytes of a probe packet.
press CTRL_C to break
During the execution of the command, press
Ctrl+C
to abort the tracert
operation.
2 1.1.2.2 (1.1.2.2) [AS 100]
580 ms 470 ms 80 ms
Probe result of the probe packets that contain a TTL value of 2, including
the following information about the second hop:
• Domain name of the hop. If no domain name is configured, the IP
address is displayed as the domain name.
• IP address of the hop. The IP address is displayed in parentheses.
• Number of the AS that the hop belongs to. The AS number appears
only when it is found for the hop in the specified routing table.
• The round-trip time of the probe packets.
The number of packets that can be sent in each probe can be set by using
the
-q
keyword.
tracert ipv6
Use tracert ipv6 to display the path that the IPv6 packets traverse from source to destination.
Syntax
tracert ipv6 [ -f first-hop | -m max-hops | -p port | -q packet-number | -t traffic-class | -w timeout ] *
host
Views
Any view
Predefined user roles
network-admin
Parameters
-f first-hop: Specifies the TTL value of the first packet. The value range is 1 to 255, and the default is
1. The value must be no greater than the value of the max-hops argument.
-m max-hops: Specifies the maximum number of hops allowed for a packet. The value range is 1 to
255, and the default is 30. The value must be no smaller than the value of the first-hop argument.
-p port: Specifies an invalid UDP port of the destination. The value range is 1 to 65535, and the
default is 33434.
-q packet-number: Specifies the number of probe packets sent each time. The value range is 1 to
65535, and the default is 3.
-t traffic-class: Specifies the traffic class value in an IPv6 probe packet. The value range is 0 to 255,
and the default is 0.