Bidirectional Forwarding Detection (BFD)BFD is a protocol that is used to rapidly detect communication failures between two adjacent systems. It is a simple and lightweightreplacement for existing routing protocol link state detection mechanisms. It also provides a failure detection solution for links on which norouting protocol is used.BFD is a simple hello mechanism. Two neighboring systems running BFD establish a session using a three-way handshake. After the sessionhas been established, the systems exchange periodic control packets at sub-second intervals. If a system does not receive a hello packetwithin a specified amount of time, routing protocols are notified that the forwarding path is down.BFD provides forwarding path failure detection times on the order of milliseconds rather than seconds as with conventional routing protocolhellos. It is independent of routing protocols, and as such, provides a consistent method of failure detection when used across a network.Networks converge faster because BFD triggers link state changes in the routing protocol sooner and more consistently because BFDeliminates the use of multiple protocol-dependent timers and methods.BFD also carries less overhead than routing protocol hello mechanisms. Control packets can be encapsulated in any form that is convenient,and, on Dell Networking routers, BFD agents maintain sessions that reside on the line card, which frees resources on the route processor.Only session state changes are reported to the BFD Manager (on the route processor), which in turn notifies the routing protocols that areregistered with it.BFD is an independent and generic protocol, which all media, topologies, and routing protocols can support using any encapsulation. DellNetworking has implemented BFD at Layer 3 and with user datagram protocol (UDP) encapsulation. BFD is supported on static routingprotocols and dynamic routing protocols such as VRRP, OSPF, OSPFv3, IS-IS, and BGP.Topics:• How BFD Works• Important Points to Remember• Configure BFDHow BFD WorksTwo neighboring systems running BFD establish a session using a three-way handshake.After the session has been established, the systems exchange control packets at agreed upon intervals. In addition, systems send a controlpacket anytime there is a state change or change in a session parameter. These control packets are sent without regard to transmit andreceive intervals.NOTE: The Dell Networking Operating System (OS) does not support multi-hop BFD sessions.If a system does not receive a control packet within an agreed-upon amount of time, the BFD agent changes the session state to Down. Itthen notifies the BFD manager of the change and sends a control packet to the neighbor that indicates the state change (though it mightnot be received if the link or receiving interface is faulty). The BFD manager notifies the routing protocols that are registered with it(clients) that the forwarding path is down and a link state change is triggered in all protocols.NOTE: A session state change from Up to Down is the only state change that triggers a link state change in the routing protocolclient.7Bidirectional Forwarding Detection (BFD) 139