OcNOS-RON-6.3.1 : Multi-Protocol Label Switching Guide : Multi-Protocol Label Switching Command Reference : MPLS Commands : trace mpls
trace mpls
Use this command to trace the route traversed by a specified echo request packet in an MPLS protocol. Trace requests can be configured for LDP, RSVP, L2 VC, VPLS, and L3 VPN label switched paths.
trace mpls (6pe default X:X::X:X/M|ldp A.B.C.D/M|rsvp (tunnel-name NAME|egress A.B.C.D)|l3vpn VRFNAME A.B.C.D/M|ipv4 A.B.C.D/M) ({reply-mode (2)|flags|destination A.B.C.D|source A.B.C.D|timeout <1-500>|force-explicit-null|detail}|)
Parameters
6pe
FEC type is 6pe
default
VPN Instance Name (default)
X:X::X:X/M
6pe prefix address
ldp
FEC type is LDP
A.B.C.D/M
LDP prefix address
rsvp
FEC type is RSVP
tunnel-name
RSVP tunnel name
NAME
Tunnel name string
egress
RSVP tunnel egress
A.B.C.D
RSVP tunnel egress address
l3vpn
FEC type is MPLS VPN (L3-VPN)
VRFNAME
VPN instance name
A.B.C.D./M
VPN prefix
ipv4
FEC type generic; use for static/SNMP label switched paths
A.B.C.D/M
IPv4 prefix address
X:X::X:X/M
VPNv6 prefix
reply-mode
Reply mode, one of
2
Reply via UDP/IP packet (default)
flags
Validate FEC stack
destination
Destination address
A.B.C.D
IPv4 address of the destination
source
Source address
A.B.C.D
IPv4 address of the source
timeout
Time to wait before rejecting the probe as a failure, in seconds
<1-500>
Timeout value
force-explicit-null
 
Force Explicit NULL label
detail
Print detailed output of the trace probe
Defaults
Default timeout value is 60 seconds.
Command Mode
Privileged Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#trace mpls ipv4 10.10.0.0/24 reply-mode 2 flags destination 127.1.2.3 source 10.10.0.1 timeout 65 detail force-explicit-null
 
#trace mpls l3vpn vrfa 10.10.0.0/24 reply-mode 2 flags destination 127.1.2.3 source 10.10.0.1 timeout 65 detail force-explicit-null
 
#trace mpls ldp 10.10.0.0/24 reply-mode 2 flags destination 127.1.2.3 source 10.10.0.1 timeout 65 detail force-explicit-null
 
#trace mpls rsvp egress 1.2.3.5 reply-mode 2 flags destination 127.1.2.3 source 10.10.0.1 timeout 65 detail force-explicit-null
 
#trace mpls rsvp tunnel-name tun1 reply-mode 2 flags destination 127.1.2.3 source 10.10.0.1 timeout 65 detail force-explicit-null
Last modified date: 07-13-2023