backup hot-standby (SR Policy template view)

Function

The backup hot-standby enable command enables the hot standby function in an SR Policy attribute template.

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

The backup hot-standby disable command disables the hot standby function in an SR Policy attribute template.

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

By default, the hot standby function in an SR Policy attribute template is not enabled.

Format

backup hot-standby { enable | disable }

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

Parameters

Parameter Description Value
enable

Enables the hot standby function in an SR Policy attribute template.

-

disable

Disables the hot standby function in an SR Policy attribute template.

-

Views

SR Policy template view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
srpolicy write

Usage Guidelines

Usage Scenario

The backup hot-standby enable (SR Policy template view) command enables the hot standby function in an SR Policy attribute template, the srv6-te-policy backup hot-standby enable (Segment Routing IPv6 view) command globally enables the hot standby function for all SRv6 TE Policies in the Segment Routing IPv6 view, and the backup hot-standby enable (SRv6 TE Policy view) command enables the hot standby function for a single SRv6 TE Policy.

For the same SRv6 TE Policy, if both the srv6-te-policy backup hot-standby enable (Segment Routing IPv6 view) and backup hot-standby enable (SRv6 TE Policy view) commands are run and the template referenced by the primary path of the policy has hot standby configurations, the backup hot-standby enable (SRv6 TE Policy view) command configuration has the highest priority. The backup hot-standby enable (SR Policy template view) command configuration has the second highest priority, followed by the srv6-te-policy backup hot-standby enable (Segment Routing IPv6 view) command configuration.

Example

# Enable the hot standby function in an SR Policy attribute template.
<HUAWEI> system-view
[~HUAWEI] segment-routing policy-template 1
[*HUAWEI-sr-policy-template-1] backup hot-standby enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >