CLI Reference BFD Configuration Commands
Specify the BGP neighbor.
No configuration of BFD for BGP.
Route or address-family configuration mode.
Note that the BFD session parameters must have been configured before the configuration.
The example below shows how to configure the BFD for BGP and detects the forwarding path
between the neighbor 172.16.0.2 through BFD:
Ruijie(config)# routerbgp 44000
Ruijie(config-router)# bgp log-neighbor-changes
Ruijie(config-router)# neighbor 172.16.0.2 remote-as 45000
Ruijie(config-router)# neighbor 172.16.0.2 fall-over bfd
Ruijie(config-router)# end
Set the BFD session parameters.
set ip next-hop verify-avalability
Use this command to configure the BFD for PBR and detects whether the next-hop of the configured
PBR is valid or not by the Track method. Use the no form of this command to disable this function.
set ip next-hop verify-availability next-hop-address { track number | bfd [vrf vrf-name ]
interface-type interface-number gateway }
no set ip next-hop verify-availability next-hop-address { track number | bfd [ vrf vrf-name ]
interface-type interface-number gateway }
Set the VRF name of the static router.
Set the next-hop IP address.
Determine whether the next-hop is valid or not by the Track method.
Neighbor detection by the BFD method.
interface-type
interface-number
Set the interface type and interface number.
Set the IP address for the gateway, which is the neighbor IP address
for BFD. The static route next-hop of the neighbor detects the
reachability of the forwarding path through BFD.