Bidirectional Forwarding Detection Overview

Note

Note

Hardware-assisted BFD helps support multiple BFD sessions.

On SLX 9740, SLX 9250, SLX 9150, Extreme 8820, Extreme 8720, and Extreme 8520 devices, hardware-assisted BFD is supported over IPv4 and IPv6.

On SLX 9540 and SLX 9640 series devices, hardware-assisted BFD is not supported over IPv6, but supports:
  • IPv4 single-hop
  • IPv4 multihop, up to a maximum of 16 multihop sessions
  • Session over physical interface, virtual Ethernet (VE) interface, and Link Aggregation Group (LAG)
  • SLX 9740/Extreme 8820 supports up to a maximum of 16 multihop sessions

BFD provides rapid detection of the failure of a forwarding path by checking that the next-hop device is alive. When BFD is not enabled, it can take time to detect that a neighboring device is not operational. This causes packet loss due to incorrect routing information at a level unacceptable for real-time applications such as VoIP and Video over IP.

Using BFD, you can detect a forwarding path failure in 600 milliseconds.

A BFD session is automatically established when a neighbor is discovered for a protocol, provided that BFD is enabled on the interface on which the neighbor is detected and BFD is also enabled for the protocol at the interface level or globally. After a session is established, each device transmits control messages at a high rate of speed that is negotiated by the devices during the session setup.

To provide a detection time of 600 milliseconds, it is necessary to process 5 messages per second of about 70 to 100 bytes each per session. A similar number of messages also need to be transmitted out per session. After a session is established, that same message is continuously transmitted at the negotiated rate and a check is made that the expected control message is received at the agreed-upon frequency from the neighbor. If the agreed-upon messages are not received from the neighbor during a negotiated timeout period, the neighbor is considered to be down.

BFD can provide failure detection on any kind of path between systems, including direct physical links and multihop routed paths. Multiple BFD sessions can be established between the same pair of systems when multiple paths between them are present in at least one direction, even if a lesser number of paths are available in the other direction.

For a single-hop session, the BFD Control Message is a UDP message with destination port 3784. For a multihop session, the BFD Control Message is a UDP message with destination port 4784 sent over IPv4 or IPv6, depending on which data forwarding path failure BFD is trying to detect.

Note

Note