You can establish a BFD session on both ends of a link to detect faults in a VPN route.
The system view is displayed.
To bind a BFD session for IPv4 to an interface, run the bfd session-name bind peer-ip peer-ip vpn-instance vpn-name [ interface interface-type interface-number ] [ source-ip source-ip ] command.
To bind a BFD session for IPv6 to an interface, run the bfd session-name bind peer-ipv6 peer-ipv6 vpn-instance vpn-name [ interface interface-type interface-number ] [ source-ipv6 source-ipv6 ] command.
The local discriminator of the BFD session is created.
The remote discriminator of the BFD session is created.
The local and remote discriminators on the two ends of a BFD session must be correctly associated. That is, the local discriminator of the local device must be the same as the remote discriminator of the remote device, and the remote discriminator of the local device must be the same as the local discriminator of the remote device. If the association is incorrect, a BFD session cannot be set up.
The configuration is committed.