Bi-Directional Forwarding Detection (BFD) on OSPF

In this lecture, I will explain the concept of Bi-Directional Forwarding Detection (BFD), its role in OSPF, and how it improves failover scenarios. BFD is not a part of OSPF and is not a routing protocol, but it works alongside OSPF to accelerate failover significantly. Through this lab, I will show you how to configure BFD with OSPF and compare failover times with and without BFD.

What is BFD?

BFD is a lightweight protocol designed to detect failures in forwarding paths between two routers. While OSPF typically sends Hello packets every 10 seconds (by default) and waits for up to 40 seconds before detecting a failure, BFD operates at a much faster rate. It uses the interface or line card directly, avoiding overhead and enabling failover detection in milliseconds.

When BFD is enabled with OSPF, it replaces the traditional Hello mechanism for link monitoring. This results in quicker failure detection, making it ideal for scenarios involving VoIP, financial transactions, or other latency-sensitive applications. BFD can also be used with other routing protocols, such as BGP, to enhance failover performance.

Lab Setup

In this lab, I have set up three routers as you see in the picture that are connected to each other.

OSPF is already pre-configured across all routers, enabling communication between them. The goal is to demonstrate:

  1. Failover times without BFD
  2. Failover times with BFD enabled

Network Details:

Each router is configured with the following loopback IPs:

  • Router 1: 1.1.1.1
  • Router 2: 2.2.2.2
  • Router 3: 3.3.3.3

Step-by-Step Configuration

1. Verify Network Connectivity

To begin, I will confirm that OSPF is functional by pinging Router 2 (2.2.2.2) from Router 3 (3.3.3.3).

Apologies, the Full Lesson Access is Only for Members....

\

Get Access to all Lessons from different Vendors

\

Affordable Price to Enhance your IT Skills!

\

Always Accessing all Lessons including the New Added Ones

100% Satisfaction Guaranteed!

You can cancel your membership at anytime.
No Questions Asked Whatsover!

0 Comments

Submit a Comment

About