H3C SR6600 Command Reference Manual page 16

Network management and monitoring command reference
Hide thumbs Also See for SR6600:
Table of Contents

Advertisement

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). It ranges from 1 to 255
and defaults to 1, and must be less than the maximum TTL.
-m max-ttl: Specifies the maximum TTL, or, the maximum allowed number of hops for a packet. It ranges
from 1 to 255 and defaults to 30, and must be greater than the first TTL.
-p port: Specifies the UDP port number of the destination, which ranges from 1 to 65535 and defaults to
33434. You do not need to modify this parameter.
-q packet-number: Specifies the number of probe packets sent each time, which ranges from 1 to 65535
and defaults to 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 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, which ranges from 1 to
65535 milliseconds and defaults to 5000 milliseconds.
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)
2
192.0.2.9 (192.0.2.9)
MPLS Label=100048 Exp=0 TTL=1 S=1
3
192.0.2.5 (192.0.2.5)
MPLS Label=100016 Exp=0 TTL=1 S=1
4
192.0.2.1 (192.0.2.1)
0.661 ms
0.618 ms
0.861 ms
0.718 ms
0.822 ms
0.731 ms
0.961 ms
8.676 ms
8
0.579 ms
0.679 ms
0.708 ms
0.875 ms

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sr6600-x

Table of Contents