Users Guide

Configure BFD for BGP
OS10 supports BFD sessions with IPv4 or IPv6 BGP neighbors using the default VRF. When you configure BFD for BGP, you can
enable BFD sessions with all BGP neighbors discovered by BGP or with a specified neighbor.
1. Configure BFD session parameters and enable BFD globally on all interfaces in CONFIGURATION mode as described in
Configure BFD globally.
bfd interval milliseconds min_rx milliseconds multiplier number role {active |
passive}
bfd enable
2. Enter the AS number of a remote BFD peer in CONFIGURATION mode, from 1 to 65535 for a 2-byte AS number and from 1
to 4294967295 for a 4-byte AS number. Only one AS number is supported per system. If you enter a 4-byte AS number, 4-
byte AS support enables automatically.
router bgp as-number
3. Enter the IP address of a BFD peer in ROUTER-BGP mode. Enable a BFD session and the BGP link in ROUTER-NEIGHBOR
mode. The global BFD session parameters configured in Step 1 are used.
neighbor ip-address
bfd
no shutdown
OR
Configure BFD sessions with all neighbors discovered by the BGP in ROUTER-BGP mode. The BFD session parameters you
configure override the global session parameters configured in Step 1.
bfd all-neighbors [interval milliseconds min_rx milliseconds multiplier number role
{active | passive}]
interval milliseconds Enter the time interval for sending control packets to BFD peers, from 100 to 1000;
default 200. Dell EMC recommends using more than 100 milliseconds.
min_rx milliseconds Enter the maximum waiting time for receiving control packets from BFD peers, from 100 to
1000; default 200. Dell EMC recommends using more than 100 milliseconds.
multiplier number Enter the maximum number of consecutive packets that are not received from a BFD peer
before the session state changes to Down, from 3 to 50; default 3.
role {active | passive} Enter active if the router initiates BFD sessions. Both BFD peers can be active at
the same time. Enter passive if the router does not initiate BFD sessions, and only responds to a request from an
active BFD to initialize a session. The default is active.
To ignore the configured bfd all-neighbors settings for a specified neighbor, enter the bfd disable command in
ROUTER-NEIGHBOR mode.
OR
Enter a BGP template with neighborhood name in ROUTER-BGP mode. Configure BFD sessions with all neighbors which
inherit the template in ROUTER-TEMPLATE mode. For more information on how to use BGP templates, see Peer templates.
The global BFD session parameters configured in Step 1 are used.
template template-name
bfd
no shutdown
4. Verify the BFD for BGP configuration in EXEC mode.
show bfd neighbors [detail]
BFD for BGP all-neighbors configuration
OS10(conf)# bfd interval 200 min_rx 200 multiplier 6 role active
OS10(conf)# bfd enable
OS10(conf)# router bgp 4
768
Layer 3