mpls te backup hot-standby (SR Tunnel interface view)

Function

The mpls te backup hot-standby command enables hot standby for an SR-MPLS TE tunnel.

The undo mpls te backup hot-standby command disables hot standby for an SR-MPLS TE tunnel.

By default, the hot-standby function is disabled on the SR-MPLS TE tunnel.

Format

mpls te backup hot-standby

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

undo mpls te backup hot-standby

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

Parameters

Parameter Description Value
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.

-

Views

Tunnel interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
mpls-te write

Usage Guidelines

Usage Scenario

To improve the reliability of an SR-MPLS TE tunnel, you are advised to configure hot standby for end-to-end protection.

To prevent frequent traffic switching in a tunnel due to link intermittent disconnection, you are advised to adjust the wtr parameter based on the actual link conditions. wtr indicates the time for switching traffic back to the primary LSP. After the primary LSP recovers, traffic is switched back to the primary LSP after the wtr time expires.

Precautions

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

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] mpls te signal-protocol segment-routing
[*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 >