R3102-R3103-HP 6600/HSR6600 Routers MPLS Command Reference Guide

70
Related commands
display mpls statistics interface
display mpls statistics lsp
tracert lsp ipv4
Use tracert lsp ipv4 to locate errors on the LSP for a FEC.
Syntax
tracert lsp [ -a source-ip | -exp exp-value | -h ttl-value | -r reply-mode | -t time-out ] * ipv4 dest-addr
mask-length [ destination-ip-addr-header ]
Views
Any view
Default command level
0: Visit level
Parameters
-a source-ip: Specifies the source IP address for the echo request messages.
-exp exp-value: Specifies the EXP value for the echo request messages. The value range for the exp-value
argument is 0 to 7, and the default is 0.
-h ttl-value: Specifies the maximum TTL value for the echo request messages. The value range for the
ttl-value argument is 1 to 255, and the default is 30.
-r reply-mode: Specifies the reply mode of the receiver in response to the echo request messages. The
reply-mode argument can be 1 or 2, where 1 means "Do not respond" and 2 means "Respond using a
UDP packet." The default is 2.
-t time-out: Specifies the timeout interval for the response to an echo request message. The value range
for the time-out argument is 0 to 65535 milliseconds, and the default is 2000 milliseconds.
ipv4 dest-addr mask-length: Specifies a FEC by an IPv4 destination address and the mask length. The
value range for the mask-length argument is 0 to 32.
destination-ip-addr-header: Specifies the destination address in the IP header of the MPLS echo request
messages. It can be any address on subnet 127.0.0.0/8—any local loopback address.
Examples
# Locate errors along the LSP to 3.3.3.9/32.
<Sysname> tracert lsp ipv4 3.3.3.9 32
LSP Trace Route FEC: IPV4 PREFIX 3.3.3.9/32 , press CTRL_C to break.
TTL Replier Time Type Downstream
0 Ingress 10.4.5.1/[1025]
1 10.4.5.1 1 Transit 100.3.4.1/[1024]
2 100.1.4.2 63 Transit 100.1.2.1/[3]
3 100.1.2.1 129 Egress