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.
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.