Enabling BFD Sessions for a BGP Peer Group

BFD sessions can be configured for BGP peer groups. The following task enables a BFD session for a BGP peer group called “mypeergroup” and configures the BFD session parameters and 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 neighbor peer-group name peer-group command to create a BGP peer group.
    device(config-bgp-router)# neighbor mypeergroup peer-group
  4. Enter the neighbor bfd command, specifying a BGP peer group, to enable BFD sessions for the peer group.
    device(config-bgp-router)# neighbor mypeergroup bfd
  5. Enter the neighbor bfd command, specifying a BGP peer group, with the min-tx, min-rx, and multiplier keywords, specifying the required intervals, to set the BFD session parameters for the BGP peer group.
    device(config-bgp-router)# neighbor mypeergroup bfd min-tx 290 min-rx 302 multiplier 3
  6. Enter the neighbor bfd command, specifying a BGP peer group, with the holdover-interval keyword and specify a value to set the BFD holdover interval for the BGP peer group.
    device(config-bgp-router)# neighbor mypeergroup bfd holdover-interval 10

The following example enables a BFD session for a BGP peer group, configures the BFD session parameters, and sets the holdover interval.

device# configure terminal
device(config)# router bgp
device(config-bgp-router)# neighbor mypeergroup peer-group
device(config-bgp-router)# neighbor mypeergroup bfd
device(config-bgp-router)# neighbor mypeergroup bfd min-tx 290 min-rx 302 multiplier 3
device(config-bgp-router)# neighbor mypeergroup bfd holdover-interval 10