Command Manual – System Management 
Quidway S8500 Series Routing Switches  Chapter 4  System Maintenance Commands
 
Huawei Technologies Proprietary 
4-32 
-m: Configures to verify the -m switch, max-TTL specifies a maximum TTL larger than 
the initial TTL. max-TTL defaults to 30; 
-p: Configures to verify the -p switch, port is an integer host port number. Generally, 
user need not modify this option. port defaults to 33434; 
-q: Configures to verify the -q switch, nqueries is an integer specifying the number of 
query packets sent, larger than 0. num-packet defaults to 3; 
-vpn-instance vpn-instance-name: VPN instance name; 
-w: Configures to verify the -wf switch, timeout is an integer specifying IP packet 
timeout in seconds, larger than 0.timeout defaults to 5s; 
string: IP address of the destination host or the hostname of the remote system.  
Description 
Use the command to Using tracert command, you can check the reachability of 
network connection and troubleshoot the network. User can test gateways passed by 
the packets transmitted from the host to the destination. 
By default, when the parameters are not specified, 
The tracert command sends a packet with TTL 1, and the first hop will send an ICMP 
error message back to indicate this packet cannot be transmitted (because of TTL 
timeout). Then this packet will be sent again with TTL 2, and the second hop will 
indicate a TTL timeout error. Perform this operation repeatedly till reaching the 
destination. These processes are operated to record the source address of each ICMP 
TTL timeout so as to provide a path to the destination for an IP packet. 
After ping command finds some error on the network, perform tracert to locate the 
error. 
The output of tracert command includes IP address of all the gateways to the 
destination. If a certain gateway times out, output "***". 
Example 
# Test the gateways passed by the packets to the destination host at 18.26.0.115. 
<Quidway> tracert 18.26.0.115 
tracert to allspice.lcs.mit.edu (18.26.0.115), 30 hops max 
1 helios.ee.lbl.gov (128.3.112.1) 0 ms 0 ms 0 ms 
2 lilac-dmc.Berkeley.EDU (128.32.216.1) 19 ms 19 ms 19 ms 
3 lilac-dmc.Berkeley.EDU (128.32.216.1) 39 ms 19 ms 19 ms 
4 ccngw-ner-cc.Berkeley.EDU (128.32.136.23) 19 ms 39 ms 39 ms 
5 ccn-nerif22.Berkeley.EDU (128.32.168.22) 20 ms 39 ms 39 ms 
6 128.32.197.4 (128.32.197.4) 59 ms 119 ms 39 ms 
7 131.119.2.5 (131.119.2.5) 59 ms 59 ms 39 ms 
8 129.140.70.13 (129.140.70.13) 80 ms 79 ms 99 ms 
9 129.140.71.6 (129.140.71.6) 139 ms 139 ms 159 ms