Before configuring multi-hop BFD, configure a routing protocol to ensure reachability at the network layer.
The system view is displayed.
BFD is enabled globally and the BFD view is displayed.
By default, BFD is disabled globally.
The destination port number for a multi-hop BFD session is configured.
By default, destination port 3784 is used in multi-hop BFD control packets.
Return to the system view.
IPv4 links:
Run bfd session-name bind peer-ip ip-address [ vpn-instance vpn-name ] [ source-ip ip-address ]
The binding information of the BFD session is configured.
By default, no BFD session is created.
When creating the BFD session, the system checks only the format of the IP address rather than its correctness. The BFD session cannot be established if an incorrect peer IP address or source IP address is bound.
During BFD session creation, the value of peer-ip or source-ip cannot be the IP address of a GRE tunnel interface.
During BFD session creation, the outbound interface specified by peer-ip cannot be the tunnel interface.
If the peer IP address of a multi-hop BFD session is the same as a 32-bit destination address of an LDP LSP/static LSP, the BFD session is associated with this LSP. That is, when the BFD session detects a fault, LSP protection switchover is performed.
IPv6 links:
Run bfd session-name bind peer-ipv6 ipv6-address [ vpn-instance vpn-instance-name ] [ source-ipv6 ipv6-address ]
The binding information of the BFD6 session is configured.
The local discriminator is set.
The remote discriminator is set.
The local discriminator of the local system must be the same as the remote discriminator of the remote system; the remote discriminator of the local system must be the same as the local discriminator of the remote system. Otherwise, BFD sessions cannot be established. After the local discriminator and the remote discriminator are configured, you cannot modify them.
The configuration is committed.