R3166-R3206-HP High-End Firewalls System Management and Maintenance Command Reference-6PW101

5
Field Descri
p
tion
round-trip min/avg/max = 0/4/20
ms
Minimum/average/maximum response time, in ms
tracert
Syntax
tracert [ -a source-ip | -f first-ttl | -m max-ttl | -p port | -q packet-number | -vpn-instance
vpn-instance-name | -w timeout ] * host
View
Any view
Default level
0: Visit level
Parameters
-a source-ip: Specifies the source IP address of a tracert packet. It must be a legal IP address configured
on the device. If this parameter is not provided, the source IP address of an ICMP echo request is the
primary IP address of the outbound interface of the tracert packet.
-f first-ttl: Specifies the first TTL, that is, the allowed number of hops for the first packet, in the range 1 to
255. It defaults to 1 and must be less than the maximum TTL.
-m max-ttl: Specifies the maximum TTL, that is, the maximum allowed number of hops for a packet, in the
range 1 to 255. It defaults to 30, and must be greater than the first TTL.
-p port: Specifies the UDP port number of the destination, in the range 1 to 65535. The default value is
33434. You do not need to modify this parameter.
-q packet-number: Specifies the number of probe packets sent each time, in the range 1 to 65535. The
default value is 3.
-vpn-instance vpn-instance-name: Specifies the name of a VPN instance, which is a string of 1 to 31
characters.
-w timeout: Specifies the timeout time of the reply packet of a probe packet, in the range 1 to 65535, in
milliseconds. The default value is 5000 ms.
host: IP address or host name (a string of 1 to 255 characters) of the destination.
Description
Use the tracert command to trace the path the packets traverse from source to destination.
After having identified network failure with the ping command, you can use the tracert command to
determine the failed node(s).
Output information of the tracert command includes IP addresses of all the Layer 3 devices the packets
traverse from source to destination. If a device times out, “* * *” will be displayed.
During the execution of the command, you can press Ctrl+C to abort the tracert operation.
Examples
# Display the path the packets traverse from source to destination with an IP address of 1.1.2.2.
<Sysname> system-view
[Sysname] ip ttl-expires enable