R2511-HP MSR Router Series MPLS Command Reference(V5)
309
Parameters
clear: Clears all configured switching actions.
force: Forces data to travel on the backup LSP.
lock: Always uses the main LSP to transfer data.
manual: Switches data from the main LSP to the backup LSP.
Usage guidelines
The following shows the priority of the externally configured switching actions and the signal fail
switchings, in the descending order:
• Clear
• Lockout of protection
• Signal fail of the backup LSP
• Forced switch
• Signal fail of the main LSP
• Signal clear
• Manual switch
Examples
# Specify to always use the main LSP to transfer data.
<Sysname> system-view
[Sysname] interface tunnel 1
[Sysname-Tunnel1] mpls te protect-switch lock
mpls te record-route
Use mpls te record-route to enable route recording or label recording for the tunnel.
Use undo mpls te record-route to restore the default.
Syntax
mpls te record-route [ label ]
undo mpls te record-route
Default
A tunnel does not support route recording or label recording.
Views
Tunnel interface view
Default command level
2: System level
Parameters
label: Includes the record of labels in the route record. This keyword is not supported when the signaling
protocol is CR-LDP.
Examples
# Enable route recording on MPLS TE tunnel 0.
<Sysname> system-view










