Bidirectional Forwarding Detection (BFD) | 137
Figure 7-11. Establishing Sessions with OSPF Neighbors
To establish BFD with all OSPF neighbors:
To establish BFD for all OSPF neighbors on a single interface:
Step Task Command Syntax Command Mode
1 Establish sessions with all OSPF neighbors. bfd all-neighbors ROUTER-OSPF
Step Task Command Syntax Command Mode
1 Establish sessions with all OSPF neighbors on a
single interface.
ip ospf bfd all-neighbors INTERFACE
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/
FTOS(config-router_ospf)# bfd all-neighbor
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