BFD Overview

Bidirectional Forwarding Detection (BFD) is a hello protocol that provides the rapid detection of failures in the path and informs the clients (routing protocols) to initiate the route convergence.

It is independent of media, routing protocols, and data protocols. BFD helps in the separation of forwarding plane connectivity and control plane connectivity.

Different routing protocol hello mechanisms operate in variable rates of detection, but BFD detects the forwarding path failures at a uniform rate, thus allowing for easier network profiling and planning, and consistent and predictable re-convergence time.

BFD Topology shows a BFD topology.

Click to expand in new window
BFD Topology
GUID-44F5C866-F767-488A-BFEE-2BE88D2D29A4-low.png

The routing protocols first learn the neighbor and make entries in the forwarding table. Then protocols can register the neighbor address with BFD and ask to monitor the status of the path. BFD establishes the session with a remote BFD and monitors the path status.

You can configure detection multipliers and TX and RX intervals on a directly connected interface (VLAN (Virtual LAN)).
  • The detection multiplier signifies the number of BFD packets the BFD server waits for after which a timeout is declared.
  • The receive interval is the interval at which the BFD server is ready to receive packets.
  • The transmit interval is the interval at which the BFD server is ready to transmit packets.

For example, when two nodes, A and B, initiate a BFD session between them, a negotiation about the receive and transmit intervals occurs.

The receive interval of node A is calculated as the maximum of the configured receive interval of node A and the configured transmit interval of node B. The same applies to node B.

If multiple clients ask for the same neighbor on the same interface, then a single BFD session is established between the peers.

BFD Failure Detection shows the behavior when a failure occurs.

Click to expand in new window
BFD Failure Detection
GUID-EECF7A58-049C-4884-8B54-BDF7ED138188-low.png

BFD detects the failure first, and then informs the registered clients about the neighbors.

BFD operates in an asynchronous mode in which systems periodically send BFD control packets to one another. If a number of those packets in a row are not received by the other system, the session is declared to be down.

Simple password authentication can be included in the control packet to avoid spoofing.

BFD for OTM, BGP, and hitless failover are supported.

This feature is available on all platforms.

Note

Note

BFD can be used to protect IPv4 & IPv6 static routes, OSPFv2 & OSPFv3 (Open Shortest Path First version 3) interfaces and BGP (Border Gateway Protocol) and MPLS (Multiprotocol Label Switching) interfaces. For more information, see Configuring Static Routes, BFD for OSPF, or refer to Managing the MPLS BFD Client.