What is the meaning of the tracert command output on an S series switch

For S series switches (except the S1700), the tracert command displays information about the path on which packets are sent from the source to the destination and checks network connectivity. When a fault occurs on the network, you can run this command to locate the fault. This command is used as follows:
[HUAWEI] tracert
traceroute to,max hops: 30 ,packet length: 40,press CTRL_C to break
1 23 ms 12 ms 6 ms
2 * * *
3 5 ms !<10> 5ms !<10> 6ms !<10>

The command output is described as follows:
1 indicates the first-hop gateway. The sequence number increases by each hop. By default, the maximum number of hops is 30. indicates the gateway address of the first hop. The IPv4 address following the serial number of each hop is the gateway address of the hop.
23 ms 12 ms 6 ms indicates the time difference between the three sent UDP packets and the received ICMP Time Exceeded or ICMP Destination Unreachable packets.
* * * indicates that no ICMP Time Exceeded packet or ICMP Destination Unreachable packet is received on the second-hop device within a specified period.
! indicates an ICMP Destination Unreachable packet.
<10> indicates that the value of the Code field in the ICMP packet is 10, which means that the Destination host is administratively prohibited. There are no reachable routes between the destination host and the source address. This packet is sent by the default gateway of the destination host.
For the meanings of other values of the Type and Code fields in an ICMP packet, see Chapter 6 in TCP/IP Illustration Volume I.

Scroll to top