Bidirectional Forwarding Detection (BFD) | 137Figure 7-11. Establishing Sessions with OSPF NeighborsTo establish BFD with all OSPF neighbors:To establish BFD for all OSPF neighbors on a single interface:Step Task Command Syntax Command Mode1 Establish sessions with all OSPF neighbors. bfd all-neighbors ROUTER-OSPFStep Task Command Syntax Command Mode1 Establish sessions with all OSPF neighbors on asingle interface.ip ospf bfd all-neighbors INTERFACE2.2.2.1/24 2.2.3.1/244/24 2/1 2/2 6/0AREA 0 AREA 16/11/1FTOS(conf-if-gi-4/24)# ip address 2.2.2.1/24FTOS(conf-if-gi-4/24)# no shutdownFTOS(conf-if-gi-4/24)# exitFTOS(config)# router ospf 1FTOS(config-router_ospf )# network 2.2.2.0/24 area 0FTOS(config-router_ospf )# bfd all-neighborsFTOS(conf-if-gi-2/1)# ip address 2.2.2.2/24FTOS(conf-if-gi-2/1)# no shutdownFTOS(conf-if-gi-2/1)# exitFTOS(config)# router ospf 1FTOS(config-router_ospf )# network 2.2.2.0/24 area 0FTOS(config-router_ospf )# bfd all-neighborsFTOS(conf-if-gi-2/2)# ip address 2.2.3.1/24FTOS(conf-if-gi-2/2)# no shutdownFTOS(conf-if-gi-2/2)# exitFTOS(config)# router ospf 1FTOS(config-router_ospf )# network 2.2.3.0/24 area 1FTOS(config-router_ospf )# bfd all-neighborsFTOS(conf-if-gi-6/1)# ip address 2.2.4.1/24FTOS(conf-if-gi-6/1)# no shutdownFTOS(conf-if-gi-6/1)# exitFTOS(config)# router ospf 1FTOS(config-router_ospf )# network 2.2.4.0/24FTOS(config-router_ospf )# bfd all-neighborsFTOS(conf-if-gi-6/0)# ip address 2.2.3.2/24FTOS(conf-if-gi-6/0)# no shutdownFTOS(conf-if-gi-6/0)# exitFTOS(config)# router ospf 1FTOS(config-router_ospf )# network 2.2.3.0/24 area 1FTOS(config-router_ospf )# bfd all-neighborsFTOS(conf-if-gi-6/0)# ip address 2.2.4.2/24FTOS(conf-if-gi-6/0)# no shutdownFTOS(conf-if-gi-6/0)# exitFTOS(config)# router ospf 1FTOS(config-router_ospf )# network 2.2.4.0/24 area 1FTOS(config-router_ospf )# bfd all-neighbors2.2.2.2/24 2.2.3.2/242.2.4.1/242.2.4.2/24R1 R3R2R4