The mpls te protection tunnel command creates a tunnel protection group.
The undo mpls te protection tunnel command deletes the binding between the protection tunnel and a working tunnel.
By default, tunnel protection group is not created.
Parameter | Description | Value |
---|---|---|
tunnel-id |
Specifies the ID of a protection tunnel. |
The value is an integer that ranges from 1 to 32768. |
holdoff holdoff-time |
Hold-off time for switching. After a fault in the primary tunnel is detected, the switching is performed only after the hold-off time expires. |
The step is 100 ms. The value ranges from 0 to 100, that is, the maximum value is 10s. The default value is 0, indicating that traffic is switched immediately after a fault is detected on the primary tunnel. |
mode |
Indicates the switchback mode. |
By default, the revertive mode is used. |
non-revertive |
Indicates the non-revertive mode. |
- |
revertive |
Indicates the revertive mode. |
- |
wtr wtr-time |
Specifies the WTR time for the switchback. When a primary tunnel recovers from a fault, the switchback is performed after the WTR time expires. |
The step is 30 seconds. The value ranges from 0 to 60. The default value is 24, that is, 12 minutes. |
Usage Scenario
A configured protection tunnel can be bound to a primary tunnel. They form an MPLS TE tunnel protection group. If the primary tunnel fails, a primary/backup tunnel switchover is performed, and traffic switches to the protection tunnel. The tunnel protection group helps improve tunnel reliability. To create a tunnel protection group and a binding between the protection and primary tunnels, run the mpls te protection tunnel command.
Precautions
Only the NetEngine 8000 F1A supports this command.
<HUAWEI> system-view [~HUAWEI] mpls [*HUAWEI-mpls] mpls te [*HUAWEI-mpls] quit [*HUAWEI] interface Tunnel 102 [*HUAWEI-Tunnel102] tunnel-protocol mpls te [*HUAWEI-Tunnel102] destination 2.2.2.2 [*HUAWEI-Tunnel102] mpls te tunnel-id 102 [*HUAWEI-Tunnel102] mpls te signal-protocol cr-static [*HUAWEI-Tunnel102] mpls te bidirectional [*HUAWEI-Tunnel102] quit [*HUAWEI] interface Tunnel 11 [*HUAWEI-Tunnel11] tunnel-protocol mpls te [*HUAWEI-Tunnel11] mpls te tunnel-id 11 [*HUAWEI-Tunnel11] mpls te signal-protocol cr-static [*HUAWEI-Tunnel11] mpls te bidirectional [*HUAWEI-Tunnel11] mpls te protection tunnel 102 holdoff 100 mode revertive wtr 2