Configuring BFD for BGP

BFD can be enabled and BFD session parameters can be set globally for BGP-enabled interfaces. The following task enables BFD globally for BGP, configures the BFD session parameters, and sets the BFD holdover interval.
  1. Enter the configure terminal command to access global configuration mode.
    device# configure terminal
  2. Enter the router bgp command to enable BGP routing.
    device(config)# router bgp
  3. Enter the bfd command to enable BFD globally.
    device(config-bgp-router)# bfd
  4. Enter the bfd min-tx command with the min-rx and multiplier keywords, specifying the required intervals, to configure BFD session parameters for BGP.
    device(config-bgp-router)# bfd min-tx 280 min-rx 280 multiplier 4
  5. Enter the bfd holdover-interval command and specify a value to set the BFD holdover interval globally.
    device(config-bgp-router)# bfd holdover-interval 10

The following example enables BFD globally for BGP, configures the BFD session parameters, and sets the BFD holdover interval to 10.

device# configure terminal
device(config)# router bgp
device(config-bgp-router)# bfd
device(config-bgp-router)# bfd min-tx 280 min-rx 280 multiplier 4
device(config-bgp-router)# bfd holdover-interval 10