R3303-HP HSR6800 Routers Network Management and Monitoring Command Reference

8
Views
Any view
Default command 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 (the allowed number of hops for the first packet). The value range is 1 to
255, and the default is 1. The value must be less than the maximum TTL.
-m max-ttl: Specifies the maximum TTL, or, the maximum allowed number of hops for a packet. The value
range is 1 to 255, and the default is 30. The value must be greater than the first TTL.
-p port: Specifies the UDP port number of the destination. The value range is 1 to 65535, and the default
is 33434. You do not need to modify this parameter.
-q packet-number: Specifies the number of probe packets sent each time. The value range is 1 to 65535,
and the default is 3.
-mt topology-name: Specifies the topology name, which is a case-sensitive string of 1 to 31 characters.
-vpn-instance vpn-instance-name: Specifies the MPLS L3VPN instance to which the destination belongs,
where vpn-instance-name is a case-sensitive string of 1 to 31 characters. If the destination is on the public
network, do not specify this option.
-w timeout: Specifies the timeout time of the reply packet of a probe packet, in milliseconds. The value
range is 1 to 65535, and the default is 5000.
host: IP address or host name (a string of 1 to 255 characters) of the destination.
Usage guidelines
After having identified network failure with the ping command, use the tracert command to determine the
failed nodes.
Output from the tracert command includes IP addresses of all the Layer 3 devices the packets traverse
from source to destination. Asterisks (* * *) are displayed if the device cannot reply with an ICMP error
message (probably because the destination is unreachable or sending ICMP timeout/destination
unreachable packets is disabled).
To abort the tracert operation during the execution of the command, press Ctrl+C.
Examples
# Display the path the packets traverse from source to destination with an IP address of 1.1.2.2.
<Sysname> tracert 1.1.2.2
traceroute to 1.1.2.2(1.1.2.2) 30 hops max,40 bytes packet, press CTRL_C to break
1 1.1.1.2 673 ms 425 ms 30 ms
2 1.1.2.2 580 ms 470 ms 80 ms
# Trace the path to destination 192.168.0.46 over an MPLS network.
<Sysname> tracert 192.168.0.46
traceroute to 192.168.0.46(192.168.0.46) 30 hops max,40 bytes packet, press CTRL_C to
break
1 192.0.2.13 (192.0.2.13) 0.661 ms 0.618 ms 0.579 ms