By configuring the auto-negotiation of static discriminators, you can enable the connection to the device that establishes BFD sessions dynamically. The auto-negotiation function of static discriminators is mainly applied to static routes.
This function is used, when BFD interworks with the static route and the local device needs to communicate with the peer device, which uses the dynamic BFD session.
Local and remote discriminators cannot be configured on the device when you configure the auto-negotiation of static discriminators.
system-view
bfd
quit
Create a static auto-negotiated BFD session for IPv4 with the static discriminator.
bfd cfg-name bind peer-ip peer-ip [ vpn-instance vpn-instance-name ] [ interface interface-type interface-number ] source-ip source-ip auto
The peer-ip value cannot be a multicast IP address.
Create a static auto-negotiated BFD session for IPv6 with the static discriminator.
bfd session-name bind peer-ipv6 ipv6-address [ vpn-instance vpn-name ] [ interface interface-type interface-number ] source-ipv6 ipv6-address auto
The ipv6-address value cannot be a multicast IP address.