R2511-HP MSR Router Series MPLS Command Reference(V5)

308
mode: Specifies the reverting mode, non-revertive or revertive. The default reverting mode is revertive.
non-revertive: Specifies the non-revertive mode. In this mode, data is not switched back from the
protection tunnel to the main tunnel even if the main tunnel recovers.
revertive: Specifies the revertive mode. In this mode, data is switched back from the protection tunnel to
the main tunnel when the main tunnel recovers.
wtr wtr-time: Specifies the reverting delay time, or, the time to wait before switching back to the main
tunnel. wtr-time is the WTR time factor, which is in the range of 0 to 60 and defaults to 24. WTR time =
WTR time factor × 30 seconds. Therefore, the default WTR time is 12 minutes.
one-plus-one: Specifies the protection switching mode as 1+1. If you do not specify this keyword, the
protection switching mode is 1:1.
Usage guidelines
To configure the 1+1 protection switching mode, you must follow these guidelines:
The main and backup tunnels are both bidirectional MPLS TE tunnels.
Specify the 1+1 mode on both ends of the tunnel.
Specify the bidirectional path switching mode on both ends of the tunnel.
Specify the same reverting mode and switching delay time on both ends of the tunnel.
Before configuring the mpls te protection tunnel command, execute the tunnel-protocol mpls te
command in tunnel interface view.
The configured protection tunnel takes effect only after you execute the mpls te commit command in the
tunnel interface view.
Because bypass tunnels configured in TE FRR cannot be applied in VPN applications, do not configure
a protection tunnel for a bypass tunnel of TE FRR.
Examples
# Configure a protection tunnel for tunnel 1.
<Sysname> system-view
[Sysname] interface tunnel 1
[Sysname-Tunnel1] mpls te protection tunnel 102 holdoff 20 mode revertive wtr 30
[Sysname-Tunnel1] mpls te commit
mpls te protect-switch
Use mpls te protect-switch to configure a switching action for a tunnel.
Syntax
mpls te protect-switch { clear | force | lock | manual }
Default
No switching action is configured.
Views
Tunnel interface view
Default command level
2: System level