bfd (SR Policy template view)

Function

The bfd bypass command enables the BFD bypass function in an SR Policy attribute template.

The bfd no-bypass command enables the BFD no-bypass function in an SR Policy attribute template.

The undo bfd bypass command disables the BFD bypass function in an SR Policy attribute template.

The undo bfd no-bypass command disables the BFD no-bypass function in an SR Policy attribute template.

By default, the BFD no-bypass function in an SR Policy attribute template is not enabled.

Format

bfd { no-bypass | bypass }

undo bfd { no-bypass | bypass }

Parameters

Parameter Description Value
no-bypass

Enables the BFD no-bypass 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 bfd bypass (SR Policy template view) command enables the BFD bypass function in an SR Policy attribute template, the srv6-te-policy bfd bypass (Segment Routing IPv6 view) command globally enables the BFD bypass function for all SRv6 TE Policies in the Segment Routing IPv6 view, and the bfd bypass (SRv6 TE Policy view) command configures the BFD bypass function for a single SRv6 TE Policy.

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

Example

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