CLI Reference BFD Configuration Commands
(Optional) set the VRF name of the static router.
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.
(Optional) set the source IP address for the BFD session. It is
necessary to set this parameter if the distance between the session
IP address and the neighbor IP address are multi-hops.
No configuration of BFD for the static route.
Global 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 the static routes and detects the forwarding
path between the neighbor 172.16.0.2 through BFD:
Ruijie(config)# interface FastEthernet 0/1
Ruijie(config-if)# no switchport
Ruijie(config-if)# ip address 172.16.0.1 255.255.255.0
Ruijie(config-if)# bfd interval 50 min_rx 50 multiplier 3
Ruijie(config-if)# exit
Ruijie(config)# ip route static bfd FastEthernet 0/1 172.16.0.2
Ruijie(config)# ip route 10.0.0.0 255.0.0.0 FastEthernet 0/1 172.16.0.2
Set the BFD session parameters.
Use this command to configure the BFD for the static route in global configuration mode. Use the no
form of this command to remove this configuration.
ipv6 route static bfd [ vrf vrf-name ] interface-type interface-number gateway [ source
ipv6-address ]
no ipv6 route static bfd [ vrf vrf-name ] interface-type interface-number gateway [ source
ipv6-address ]