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.
- Enter the
configure terminalcommand to access global configuration mode. - Enter the
router bgpcommand to enable BGP routing. - Enter the
neighborpeer-group name peer-group command to create a BGP peer group. - Enter the
neighbor bfdcommand, specifying a BGP peer group, to enable BFD sessions for the peer group. - Enter the
neighbor bfdcommand, 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. - Enter the
neighbor bfdcommand, 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.
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