152 | Bidirectional Forwarding Detection (BFD)
www.dell.com | support.dell.com
Configuring BFD for OSPF is a two-step process:
1. Enabling BFD globally.
2. Establishing sessions with OSPF neighbors.
Related configuration tasks
• Changing OSPF session parameters.
• Disabling BFD for OSPF.
Establishing sessions with OSPF neighbors
BFD sessions can be established with all OSPF neighbors at once or sessions can be established with all
neighbors out of a specific interface. Sessions are only established when the OSPF adjacency is in the full
state.
To establish BFD with all OSPF neighbors:
Step Task Command Syntax Command Mode
1 Establish sessions with all OSPF neighbors. bfd all-neighbors ROUTER-OSPF
2.2.2.1/24
2.2.3.1/24
4/24
2/1
2/2
6/0
AREA 0
AREA 1
6/1
1/1
FTOS(conf-if-gi-4/24)# ip address 2.2.2.1/24
FTOS(conf-if-gi-4/24)# no shutdown
FTOS(conf-if-gi-4/24)# exit
FTOS(config)# router ospf 1
FTOS(config-router_ospf)# network 2.2.2.0/24 area 0
FTOS(config-router_ospf)# bfd all-neighbors
FTOS(conf-if-gi-2/1)# ip address 2.2.2.2/24
FTOS(conf-if-gi-2/1)# no shutdown
FTOS(conf-if-gi-2/1)# exit
FTOS(config)# router ospf 1
FTOS(config-router_ospf)# network 2.2.2.0/24 area 0
FTOS(config-router_ospf)# bfd all-neighbors
FTOS(conf-if-gi-2/2)# ip address 2.2.3.1/24
FTOS(conf-if-gi-2/2)# no shutdown
FTOS(conf-if-gi-2/2)# exit
FTOS(config)# router ospf 1
FTOS(config-router_ospf)# network 2.2.3.0/24 area 1
FTOS(config-router_ospf)# bfd all-neighbors
FTOS(conf-if-gi-6/1)# ip address 2.2.4.1/24
FTOS(conf-if-gi-6/1)# no shutdown
FTOS(conf-if-gi-6/1)# exit
FTOS(config)# router ospf 1
FTOS(config-router_ospf)# network 2.2.4.0/24 area 1
FTOS(config-router_ospf)# bfd all-neighbors
FTOS(conf-if-gi-6/0)# ip address 2.2.3.2/24
FTOS(conf-if-gi-6/0)# no shutdown
FTOS(conf-if-gi-6/0)# exit
FTOS(config)# router ospf 1
FTOS(config-router_ospf)# network 2.2.3.0/24 area 1
FTOS(config-router_ospf)# bfd all-neighbors
FTOS(conf-if-gi-6/0)# ip address 2.2.4.2/24
FTOS(conf-if-gi-6/0)# no shutdown
FTOS(conf-if-gi-6/0)# exit
FTOS(config)# router ospf 1
FTOS(config-router_ospf)# network 2.2.4.0/24 area 1
FTOS(config-router_ospf)# bfd all-neighbors
2.2.2.2/24
2.2.3.2/24
2.2.4.1/24
2.2.4.2/24
R1
R3R2
R4