BFD Supports for OSPF, BGP, Static Route and ECMP
Configuring the Mode
There are two BFD modes: active and passive. The BFD will send protocol messages 'initiatively' in active mode and 'passively' in passive mode.
XorPlus# set protocols bfd mode active XorPlus# commit Merging the configuration. Commit OK. Save done. XorPlus# set protocols bfd mode passive XorPlus# commit Commit OK. Save done. XorPlus#
Configuring Detect-Multiplier, Min-Receive-Interval and Min-Transmit-Interval
Detect-multiplier: a detection timeout multiple. It is used in calculating detection timeout time by the detector.
Min-receive-interval: the minimum sending interval of the BFD packet supported by the local side.
Min-transmit-interval: the minimum receiving interval of the BFD packet supported by the local side.
XorPlus# set protocols bfd interface vlan25 detect-multiplier 5 XorPlus# set protocols bfd interface vlan25 min-transmit-interval 1000 XorPlus# set protocols bfd interface vlan25 min-receive-interval 2000 XorPlus# commit Merging the configuration. Commit OK. Save done. XorPlus#
Enable BFD on L3 Interface
Enable BFD on the VLAN interface.
XorPlus# set protocols bfd interface vlan25 disable false XorPlus# commit Commit OK. Save done. XorPlus#
Enable BFD Supporting for OSPF4
Enable BFD to support for protocol OSPF4.
XorPlus# set protocols ospf4 area 1.1.1.1 interface vlan-25 vif vlan-25 address 125.125.25.6 bfd disable false XorPlus# commit Merging the configuration. Commit OK. Save done. XorPlus#
Enable BFD Supporting for OSPF6
Enable BFD to support for protocol OSPF6.
XorPlus# set protocols ospf6 area 1.1.1.1 interface vlan-23 vif vlan-23 bfd disable false XorPlus# commit Merging the configuration. Commit OK. Save done. XorPlus#
Enable BFD Supporting for BGP
Enable BFD to support for protocol BGP.
XorPlus# set protocols bgp peer 125.125.25.1 bfd disable false XorPlus# commit Merging the configuration. Commit OK. XorPlus#
Enable BFD Supporting for Static Route
Enable BFD to support for protocol static route.
XorPlus# set protocols static route 201.201.20.0/24 next-hop 113.113.13.1 XorPlus# set protocols static route 201.201.20.0/24 bfd true XorPlus# commit Commit OK. Save done. XorPlus#
Enable BFD Supporting for ECMP
Enable BFD to support for protocol ECMP.
XorPlus# set protocols static route 201.201.20.0/24 next-hop 113.113.13.1 XorPlus# set protocols static route 201.201.20.0/24 bfd true XorPlus# commit Commit OK. Save done. XorPlus# set protocols static route 201.201.20.0/24 qualified-next-hop 115.115.15.1 bfd true XorPlus# set protocols static route 201.201.20.0/24 qualified-next-hop 115.115.15.1 metric 1 XorPlus# commit Commit OK. Save done. XorPlus#