The mpls te backup frr-in-use command allows a device to start a bypass CR-LSP if a primary CR-LSP becomes faulty (when the primary CR-LSP is in the FRR-in-use state), and to attempt to set up a backup CR-LSP while the system is restoring the primary CR-LSP.
The undo mpls te backup frr-in-use command restores the default configuration.
If the primary CR-LSP is faulty, the system starts the bypass CR-LSP and attempts to restore the primary CR-LSP, but does not set up a backup CR-LSP by default.
Usage Scenario
After the primary CR-LSP is faulty, the system starts the bypass CR-LSP and tries to restore the primary CR-LSP the same time it sets up a backup CR-LSP.
Prerequisites
End-to-end protection in hot standby or ordinary backup mode has been enabled by running the mpls te backup { hot-standby | ordinary } command, and local protection of TE FRR has been enabled by running the mpls te fast-reroute command.
Precautions
If only the best-effort path is configured, rather than another end-to-end protection mode, the mpls te backup frr-in-use command cannot take effect.
After the mpls te backup frr-in-use command is run and if the primary CR-LSP is faulty:
It is recommended that ordinary backup be configured together with the mpls te backup frr-in-use command. This saves bandwidth resources and improves tunnel security.
# Configure the system to set up a backup CR-LSP the same time it starts the bypass CR-LSP and tries to restore the primary CR-LSP after the primary CR-LSP is faulty.
<HUAWEI> system-view [HUAWEI] interface tunnel 1 [HUAWEI-Tunnel1] tunnel-protocol mpls te [HUAWEI-Tunnel1] destination 2.2.2.2 [HUAWEI-Tunnel1] mpls te tunnel-id 100 [HUAWEI-Tunnel1] mpls te backup ordinary [HUAWEI-Tunnel1] mpls te fast-reroute [HUAWEI-Tunnel1] mpls te backup frr-in-use [HUAWEI-Tunnel1] mpls te commit