Command Manual – System Maintaining and Debugging
H3C S9500 Series Routing Switches
Chapter 1 System Maintaining and Debugging
Commands
1-5
Parameters
-a source-ip: Specifies the source IP address of a tracert packet. It must be a legal IP
address configured on the device.
-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 device, 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 an MPLS VPN instance,
which is a string of 1 to 31 characters.
-w timeout: Specifies the packet timeout time, in the range 1 to 65535, in milliseconds.
The default value is 5000 ms.
remote-system: IP address or host name (a string of 1 to 20 characters) of the
destination device.
Description
Use the tracert command to trace the routers the packets traverse from the source to
the destination device.
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 switches
the packets traverse from the source to the destination device. If a switch times out, * *
* will be displayed.
Examples
# Display the routers the packets traverse from the current device, with an IP address of
8.26.0.115, to the destination device.
<Sysname> tracert 18.26.0.115
traceroute to 18.26.0.115(18.26.0.115) 30 hops max,40 bytes packet, press
CTRL_C to break
1 128.3.112.1 10 ms 10 ms 10 ms
2 128.32.210.1 19 ms 19 ms 19 ms
3 128.32.216.1 39 ms 19 ms 19 ms
4 128.32.136.23 19 ms 39 ms 39 ms
5 128.32.168.22 20 ms 39 ms 39 ms