Users Guide

Prerequisites
Before configuring BFD for BGP, you must first configure the following settings:
Configure BGP on the routers that you want to interconnect.
Establishing Sessions with BGP Neighbors for Default VRF
To establish sessions with either IPv6 or IPv4 BGP neighbors for the default VRF, follow these steps:
1. Enable BFD globally.
CONFIGURATION mode
bfd enable
2. Specify the AS number and enter ROUTER BGP configuration mode.
CONFIGURATION mode
router bgp as-number
3. Add a BGP neighbor or peer group in a remote AS.
CONFIG-ROUTERBGP mode
neighbor {ip-address | peer-group name} remote-as as-number
4. Enable the BGP neighbor.
CONFIG-ROUTERBGP mode
neighbor {ip-address | peer-group-name} no shutdown
5. Add a BGP neighbor or peer group in a remote AS.
CONFIG-ROUTERBGP mode
neighbor {ipv6-address | peer-group name} remote-as as-number
6. Enable the BGP neighbor.
CONFIG-ROUTERBGP mode
neighbor { ipv6-address | peer-group-name} no shutdown
7. To establish BFD sessions for IPv6 neighbors, specify the address family as IPv6.
CONFIG-ROUTERBGP mode
address-family ipv6 unicast
8. Activate the neighbor in IPv6 address family.
CONFIG-ROUTERBGPv6_ADDRESSFAMILY mode
neighbor ipv6-address activate
9. Configure parameters for a BFD session established with all neighbors discovered by BGP. Or establish a BFD session with a
specified BGP neighbor or peer group using the default BFD session parameters.
CONFIG-ROUTERBGP mode
bfd all-neighbors
DellEMC(conf)#router bgp 1
DellEMC(conf-router_bgp)#neighbor 10.1.1.2 remote-as 2
DellEMC(conf-router_bgp)#neighbor 10.1.1.2 no shutdown
DellEMC(conf-router_bgp)#neighbor 20::2 remote-as 2
DellEMC(conf-router_bgp)#neighbor 20::2 no shutdown
DellEMC(conf-router_bgp)#address-family ipv6 unicast
DellEMC(conf-router_bgpv6_af)#neighbor 20::2 activate
DellEMC(conf-router_bgpv6_af)#exit
DellEMC(conf-router_bgp)#bfd all-neighbors
DellEMC(conf-router_bgp)#show config
!
router bgp 1
neighbor 10.1.1.2 remote-as 2
neighbor 10.1.1.2 no shutdown
neighbor 20::2 remote-as 2
neighbor 20::2 no shutdown
bfd all-neighbors
!
156
Bidirectional Forwarding Detection (BFD)