Configure BFD for BGP

  • BFD protection of BGP peering sessions allows for the rapid detection of link failures such that peering sessions can be taken out of the established state within fractions of a second.

    configure bgp {neighbor [all | remoteaddr ]} {bfd [on | off]}

Note

Note

The BFD setting can be applied on a per peer basis, the ability to set BFD on a peer-group or address-family basis is not currently supported. The BGP peer must be in the disabled admin state to modify its BFD setting. While BFD can be enabled on any BGP peering session, protection is only be provided for directly connected EBGP/IBGP peering sessions.
Note

Note

Configuring both BFD and graceful restart for BGP on the same switch is counterproductive. When an interface goes down, BFD detects this instantly, stops traffic forwarding and the BGP session goes down, whereas graceful restart forwards traffic despite the interface failure. This behavior might cause traffic loss. Therefore we do not recommend configuring both BFD and graceful restart on the same switch.