Creating a Tunnel Protection Group
Context
A configured protection tunnel can be bound to a working tunnel to form a tunnel protection group. If the working tunnel fails, traffic switches to the protection tunnel, improving tunnel reliability.
When creating a tunnel protocol group, you can set the switchback delay and a switchback mode. The switchback modes are classified into revertive and non-revertive modes. You can set the switchback delay only when the revertive mode is used.
You can also perform the following steps to modify a tunnel protection group.
Perform the following configurations on the ingress node of the primary MPLS TE tunnel.
Procedure
- Run system-view
The system view is displayed.
- Run interface tunnel interface-number
The tunnel interface view of the primary tunnel is displayed.
- Run mpls te protection tunnel tunnel-id [ holdoff holdoff-time ] [ mode { non-revertive | revertive [ wtr wtr-time ] } ]
The working tunnel is added to the protection group.
The following parameters can be configured in this step:
tunnel-id specifies the tunnel ID of a protection tunnel.
The holdoff time specifies the time between the declaration of signal failure and the initialization of protection switching. The holdoff time ranges from 0 to 100. The default hold-off time is 0 milliseconds. holdoff-time specifies a multiplier of 100 milliseconds.
Holdoff-time = 100 milliseconds x holdoff-time
non-revertive mode means that traffic does not switch back to a working tunnel even though a working tunnel recovers.
revertive mode means that traffic can switch back to a working tunnel after the working tunnel recovers.
By default, the tunnel protection group works in revertive mode.
Wait to restore (WTR) time is the time elapses before traffic switching is performed. The WTR time ranges from 0 to 30 minutes. The default WTR time is 12 minutes. The wtr-time parameter specifies a multiplier of 30 seconds.
WTR time = 30 seconds x wtr-time
If the number of working tunnels in the same tunnel protection group is N, perform Step 2 and Step 3 on each interface with a specific interface-number. - Run mpls te commit
The current configuration of the tunnel protection group is committed.