84
Step Command
Remarks
5.
Enable periodic LSP tracert for
the MPLS TE tunnel.
mpls te periodic-tracert
[
-a
source-ip
|
-exp
exp-value
|
-h
ttl-value
|
-
m
wait-time
|
-t
time-out
| -
u
retry-attempt
]
*
By default, periodic LSP tracert is
disabled for MPLS TE tunnels.
6.
Configure MPLS TE to tear
down a failed RSVP TE tunnel
and reestablish it.
mpls te failure-action teardown
Optional.
Not configured by default.
NOTE:
For more information about the
mpls lspv
command, see
MPLS Command Reference.
Configuring protection switching
Configuration prerequisites
Before configuring protection switching, do the following:
•
Configure MPLS basic capabilities
•
Enable MPLS TE and create an MPLS TE tunnel
•
Configure BFD for the MPLS TE tunnel.
Before configuring a protection tunnel, prepare the following data:
•
Interface number of the main tunnel in the protection group
•
ID of the protection tunnel in the protection group
Configuration procedure
To configure protection switching:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter tunnel interface
view.
interface
tunnel
tunnel-number
N/A
3.
Configure a protection
tunnel for the main
tunnel.
mpls te protection tunnel
tunnel-id
[
holdoff
holdoff-time
|
mode
{
non-revertive
|
revertive
[
wtr
wtr-time
] } ] *
N/A
4.
Configure an external
protection switching
action.
mpls te protect-switch
{
clear
|
force
|
lock
|
manual
{
protect-lsp
|
work-lsp
} }
Optional.
By default, no switching
action is configured.
5.
Commit the current
configuration of the
tunnel.
mpls te commit
N/A
Displaying and maintaining MPLS TE