Specifications

Table Of Contents
trace mpls
MP-829
Cisco IOS Multiprotocol Label Switching Command Reference
January 2010
trace mpls
To discover Multiprotocol Label Switching (MPLS) label switched path (LSP) routes that packets
actually take when traveling to their destinations, use the trace mpls command in privileged EXEC
mode.
trace mpls
{ipv
4 destination-address/destination-mask-length
| tr
affic-eng Tunnel tunnel-number
| pse
udowire destination-address vc-id segment segment-number [segment number]}
[ti
meout seconds]
[dest
ination address-start [address-end | address-increment]]
[r
evision {1 | 2 | 3 | 4}]
[so
urce source-address]
[ex
p exp-bits]
[tt
l maximum-time-to-live]
[re
ply {dscp dscp-bits | mode reply-mode {ipv4 | no-reply | router-alert} | pad-tlv}]
[f
orce-explicit-null]
[o
utput interface tx-interface [nexthop ip-address]]
[fl
ags fec]
[r
evision tlv-revision-number]
Syntax Description ipv4 Specifies the destination type as a Label Distribution Protocol (LDP) IPv4
a
ddress.
destination-address Address prefix of the target to be tested.
/de
stination-mask-lengt
h
Number of bits in the network mask of the target address. The slash is
required.
traffic-eng Tunnel
t
unnel-number
Specifies the destination type as an MPLS traffic engineering (TE) tunnel.
pseudowire Specifies the destination type as an Any Transport over MPLS (AToM)
vi
rtual circuit (VC).
ipv4-address IPv4 address of the AToM VC to be tested.
vc-id Specifies the VC identifier of the AToM VC to be tested.
segment Specifies a segment of a multisegment pseudowire.
segment-number A specific segment of the multisegment pseudowire or a range of segments,
i
ndicated by two segment numbers.
timeout se
conds (Optional) Specifies the timeout interval in seconds. The range is from
0 to 3600. The default is 2 seconds.
destination (Optional) Specifies a network 127 address.
address-start (Optional) The beginning network 127 address.
address-end (Optional) The ending network 127 address.
address-increment (Optional) Number by which to increment the network 127 address.