The bfd enable command enables the BFD function in an SR Policy attribute template.
The undo bfd enable command deletes the preceding configuration.
The bfd disable command disables the BFD function in an SR Policy attribute template.
The undo bfd disable command deletes the preceding configuration.
By default, the BFD function in an SR Policy attribute template is not enabled.
Usage Scenario
The bfd [ seamless | unaffiliated ] enable (SR Policy template view) command enables the SBFD or unaffiliated BFD function in an SR Policy attribute template, the srv6-te-policy bfd [ seamless | unaffiliated ] enable (Segment Routing IPv6 view) command globally enables the SBFD or unaffiliated BFD function for all SRv6 TE Policies in the Segment Routing IPv6 view, and the bfd [ seamless | unaffiliated ] enable (SRv6 TE Policy view) command enables the SBFD or unaffiliated BFD function for a single SRv6 TE Policy.
For the same SRv6 TE Policy, if both the srv6-te-policy bfd [ seamless | unaffiliated ] enable (Segment Routing IPv6 view) and bfd [ seamless | unaffiliated ] enable (SRv6 TE Policy view) commands are run and the template referenced by the primary path of the policy has BFD configurations, the bfd [ seamless | unaffiliated ] enable (SRv6 TE Policy view) command configuration has the highest priority. The bfd [ seamless | unaffiliated ] enable (SR Policy template view) command configuration has the second highest priority, followed by the srv6-te-policy bfd [ seamless | unaffiliated ] enable (Segment Routing IPv6 view) command configuration.