You can establish a BFD session on both ends of a multi-hop link to rapidly detect faults in the multi-hop link.
The system view is displayed.
BFD for IPv4 session
Run the bfd session-name bind peer-ip peer-ip [ vpn-instance vpn-name ] [ source-ip source-ip ] [ track-interface [ interface| controller ] interface-type interface-number ] command to create the binding information about a BFD for IPv4 session.
BFD for IPv6 session
Run the bfd session-name bind peer-ipv6 peer-ipv6 [ vpn-instance vpn-name ] [ source-ipv6 source-ipv6 ] [ track-interface { interface | controller } interface-type interface-number ] command to create the binding information about a BFD for IPv6 session.
The local discriminator of the BFD session is created.
The remote discriminator of the BFD session is created.
The local discriminators 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.