R0106-HP MSR Router Series MPLS Command Reference(V7)
335
Default
When the working tunnel recovers, traffic is immediately switched from the protection tunnel to the
working tunnel.
Views
Tunnel bundle interface view
Predefined user roles
network-admin
Parameters
never: Specifies the switchover mode as non-revertive. After the working tunnel recovers, the protection
group continues to use the protection tunnel as long as the protection group is operating correctly.
wtr: Specifies the switchover mode as revertive. In revertive mode, traffic is switched from the protection
tunnel to the working tunnel when the working tunnel recovers.
wtr-time: Specifies the wait time in the range of 0 to 3600 seconds. The default value is 600 seconds.
When the working tunnel recovers, the wait timer starts. If the working tunnel is still operating correctly
when the wait time expires, traffic is switched from the protection tunnel to the working tunnel.
Usage guidelines
Typically, traffic preferentially uses the working tunnel when both the working and protection tunnels are
operating correctly. When the working tunnel recovers, traffic should be immediately switched from the
protection tunnel to the working tunnel. However, on an unstable network, the immediate switchover
might affect traffic forwarding and burden the device. To resolve the problem, use this command to
specify whether to switch traffic from the protection tunnel to the working tunnel when the working tunnel
recovers, and the wait time for the switchover.
Both ends of a tunnel must have the same switchover mode (revertive or non-revertive) and wait time.
You can execute this command only after MPLS protection switching is enabled by using the mpls
protection command.
Examples
# Specify the revertive mode for Tunnel-Bundle 2, and set the wait time to 10 seconds.
<Sysname> system-view
[Sysname] interface tunnel-bundle 2 protection onetoone
[Sysname-tunnel-bundle2] protection revertive wtr 10
Related commands
• mpls protection
• protection switching-mode bidirectional
protection switch
Use protection switch to configure a switching action for a tunnel bundle interface.
Syntax
protection switch { clear | force | lock | manual }
Default
No switching action is configured.