2400 CHAPTER 160: SYSTEM MAINTAINING COMMANDS

The “hop limit” field in this prompt information has the same meaning as the “ttl” field in the prompt information displayed by the IPv4 ping command, indicating the TTL value in the ICMPv6 echo request.

tracert

Syntax

tracert [ -asource-ip -ffirst-ttl -mmax-ttl -pport -qpacket-number

 

-vpn-instancevpn-instance-name -wtimeout ] * remote-system

View

Any view

Parameter

-asource-ip: Specifies the source IP address of a tracert packet. It must be a legal

 

IP address configured on the device.

 

-ffirst-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.

 

-mmax-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.

 

-pport: 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.

 

-qpacket-number: Specifies the number of probe packets sent each time, in the

 

range 1 to 65535. The default value is 3.

 

-vpn-instancevpn-instance-name: Specifies the name of an MPLS VPN instance,

 

which is a string of 1 to 31 characters.

 

-wtimeout: 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

 

routers the packets traverse from the source to the destination device. If a router

 

times out, “* * *” will be displayed.

Example

# 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,

Page 2400
Image 2400
3Com MSR 30, MSR 50 manual Tracert