The mpls te protection tunnel command creates a tunnel protection group by binding a configured protection tunnel to a primary tunnel.
The undo mpls te protection tunnel command deletes the binding between the protection tunnel and the primary tunnel.
By default, no protection tunnel group is created.
mpls te protection tunnel tunnel-id [ holdoff holdoff-time ] [ mode { non-revertive | revertive [ wtr wtr-time ] } ]
undo mpls te protection tunnel
Parameter | Description | Value |
---|---|---|
tunnel-id | Specifies the ID of a protection tunnel. | The value is an integer that ranges from 1 to 10000. |
holdoff holdoff-time | Specifies the delay time. When a fault on a primary tunnel is detected, the switchover is performed after the delay time expires. | The value is an integer that ranges from 0 to 100 with the step of 100 milliseconds. The maximum delay time is 10 seconds. By default, the value is 10, indicating that the switchover is performed immediately after a fault on the primary tunnel is detected. |
mode | Specifies the revertive mode.
|
By default, the revertive mode is used. |
wtr wtr-time | Specifies the WTR time for the switchback. When a primary tunnel recovers from a fault, the switchback is performed after the WRT time expires. | The value is an integer ranges from 0 to 60, with the step of 30 seconds. By default, the value is 24, that is, 12 minutes. |
In addition to configuring a tunnel protection group to protect a working tunnel, you can configure TE FRR on the working tunnel. In this manner, the working tunnel can work under dual protection. The protection tunnel, however, cannot function as the working tunnel that is protected by another tunnel. In addition, the protection tunnel cannot be enabled with TE FRR.
After creating a protection tunnel in the tunnel interface view, you must run the mpls te commit command to commit the configuration.
Tunnel protection group and TE FRR cannot be configured simultaneously on the ingress of a primary tunnel.