mpls te backup (P2P Tunnel interface view)

Function

The mpls te backup command specifies the CR-LSP backup mode.

The undo mpls te backup command disables the CR-LSP backup function.

By default, the hot-standby function and the best-effort path function are disabled on the tunnel.

Format

mpls te backup hot-standby

mpls te backup ordinary

mpls te backup ordinary best-effort

mpls te backup hot-standby { { mode { revertive [ wtr interval ] | non-revertive } | wtr interval } | dynamic-bandwidth } *

undo mpls te backup hot-standby

undo mpls te backup ordinary

undo mpls te backup hot-standby { mode { revertive [ wtr ] | non-revertive } | dynamic-bandwidth } *

Parameters

Parameter Description Value
ordinary

Ordinary backup.

-

best-effort

Set parameter for best-effort LSP.

-

hot-standby

Hot-standby backup.

-

mode

Configure revertive mode.

-

revertive

The revertive mode is revertive.

-

wtr interval

Specifies the Wait-to-Restore time in hot standby.

The value is an integer ranging from 0 to 2592000, in seconds. By default, the value is 10.

non-revertive

The revertive mode is non-revertive.

-

dynamic-bandwidth

Hot standby dynamic bandwidth.

-

Views

Tunnel interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
mpls-te write

Usage Guidelines

Usage Scenario

To help enhance the reliability of a CR-LSP, setting up a backup CR-LSP to protect traffic on a primary CR-LSP in an end-to-end manner is recommended.

Precautions

Enabling tunnel backup automatically enables the route record function no matter whether the mpls te record-route command is run.

The mpls te backup ordinary command and the mpls te backup ordinary best-effort command cannot be configured simultaneously; otherwise, the last configuration overrides the previous one.

Example

# Enable the hot-standby mode.
<HUAWEI> system-view
[~HUAWEI] mpls
[*HUAWEI-mpls] mpls te
[*HUAWEI-mpls] mpls rsvp-te
[*HUAWEI-mpls] quit
[*HUAWEI] interface tunnel 1
[*HUAWEI-Tunnel1] tunnel-protocol mpls te
[*HUAWEI-Tunnel1] destination 2.2.2.2
[*HUAWEI-Tunnel1] mpls te backup hot-standby
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >