< Home

mpls te backup frr-in-use

Function

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.

Format

mpls te backup frr-in-use

undo mpls te backup frr-in-use

Parameters

None

Views

Tunnel interface view

Default Level

2: Configuration level

Usage Guidelines

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:

  • If ordinary backup is configured, the system tries to set up a backup CR-LSP when the traffic is switched to the bypass CR-LSP and also attempts to restore the primary CR-LSP. If the backup CR-LSP is set up successfully and the primary CR-LSP is not restored, traffic is switched to the backup CR-LSP.
  • If hot standby is configured and the backup CR-LSP is in the Up state, the traffic is switched to the bypass CR-LSP and then immediately to the backup CR-LSP while the system attempts to restore the primary CR-LSP.

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.

Example

# 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
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >