Enabling BFD Sessions for a BGP Neighbor
BFD sessions can be configured for BGP neighbors. The following task enables a BFD
session for a BGP neighbor with the IP address 10.2.1.1 and configures the BFD session
parameters.
- Enter the
configure terminalcommand to access global configuration mode. - Enter the
router bgpcommand to enable BGP routing. - Enter the
neighbor bfdcommand, specifying an IP address, to enable BFD sessions for the neighbor. - Enter the
neighbor bfdcommand, specifying an IP address, with the min-tx, min-rx, and multiplier keywords, specifying the required intervals, to set the BFD session parameters for the BGP neighbor. - Enter the
neighbor bfdcommand, specifying an IP address, with the holdover-interval keyword and specify a value to set the BFD holdover interval for the BGP neighbor.
The following example enables a BFD session for a BGP neighbor with the IP address 10.2.1.1, configures the BFD session parameters, and sets the holdover interval.
device# configure terminal device(config)# router bgp device(config-bgp-router)# neighbor 10.2.1.1 bfd device(config-bgp-router)# neighbor 10.2.1.1 bfd min-tx 290 min-rx 300 multiplier 3 device(config-bgp-router)# neighbor 10.2.1.1 bfd holdover-interval 10
The following example configures BFD for a BGP neighbor with the IPv6 address 2001:2018:8192::125 and sets the BFD session timer values. No holdover interval is configured, so the default of 0 will be applied.
device# configure terminal device(config)# router bgp device(config-bgp-router)# neighbor 2001:2018:8192::125 bfd device(config-bgp-router)# neighbor 2001:2018:8192::125 bfd min-tx 290 min-rx 301 multiplier 3