backup hot-standby (SR-MPLS TE Policy view)

Function

The backup hot-standby enable command enables hot standby (HSB) for an SR-MPLS TE Policy.

The undo backup hot-standby enable command deletes the preceding configuration.

The backup hot-standby disable command disables HSB for an SR-MPLS TE Policy.

The undo backup hot-standby disable command deletes the preceding configuration.

The undo backup hot-standby command deletes the HSB configuration of an SR-MPLS TE Policy and allows a device to inherit the configuration of the sr-te-policy backup hot-standby enable command run in the Segment Routing view.

By default, the configuration of the sr-te-policy backup hot-standby enable command run in the Segment Routing view is inherited directly.

Format

backup hot-standby { enable | disable }

undo backup hot-standby [ { enable | disable } ]

Parameters

Parameter Description Value
enable

Enables HSB for an SR-MPLS TE Policy.

-

disable

Disables HSB for an SR-MPLS TE Policy. After you run the backup hot-standby disable command, HSB path information about the SR-MPLS TE Policy is deleted.

-

Views

SR-MPLS TE policy view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
srpolicy write

Usage Guidelines

Usage Scenario

The sr-te-policy backup hot-standby enable command enables HSB for all SR-MPLS TE Policies. However, the backup hot-standby command enables HSB for a single SR-MPLS TE Policy. If the sr-te-policy backup hot-standby enable command and the backup hot-standby command are both run for an SR-MPLS TE Policy, the backup hot-standby command configuration takes precedence.

Example

# Disable HSB for an SR-MPLS TE Policy.
<HUAWEI> system-view
[~HUAWEI] segment-routing
[*HUAWEI-segment-routing] sr-te policy policy1 endpoint 1.1.1.1 color 100
[*HUAWEI-segment-routing-te-policy-policy1] backup hot-standby disable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >