Bidirectional Forwarding Detection | 183Figure 9-11. Establishing Sessions with OSPF NeighborsTo establish BFD with all OSPF neighbors:To establish BFD for all OSPF neighbors on a single interface:View the established sessions using the command show bfd neighbors, as shown in Figure 9-12.Figure 9-12. Viewing Established Sessions for OSPF NeighborsStep 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/24fnC0040mp4/24 2/1 2/2 6/0AREA 0 AREA 16/11/1Force10(conf-if-gi-4/24)# ip address 2.2.2.1/24Force10(conf-if-gi-4/24)# no shutdownForce10(conf-if-gi-4/24)# exitForce10(config)# router ospf 1Force10(config-router_ospf )# network 2.2.2.0/24 area 0Force10(config-router_ospf )# bfd all-neighborsForce10(conf-if-gi-2/1)# ip address 2.2.2.2/24Force10(conf-if-gi-2/1)# no shutdownForce10(conf-if-gi-2/1)# exitForce10(config)# router ospf 1Force10(config-router_ospf )# network 2.2.2.0/24 area 0Force10(config-router_ospf )# bfd all-neighborsForce10(conf-if-gi-2/2)# ip address 2.2.3.1/24Force10(conf-if-gi-2/2)# no shutdownForce10(conf-if-gi-2/2)# exitForce10(config)# router ospf 1Force10(config-router_ospf )# network 2.2.3.0/24 area 1Force10(config-router_ospf )# bfd all-neighborsForce10(conf-if-gi-6/1)# ip address 2.2.4.1/24Force10(conf-if-gi-6/1)# no shutdownForce10(conf-if-gi-6/1)# exitForce10(config)# router ospf 1Force10(config-router_ospf )# network 2.2.4.0/24 area 1Force10(config-router_ospf )# bfd all-neighborsForce10(conf-if-gi-6/0)# ip address 2.2.3.2/24Force10(conf-if-gi-6/0)# no shutdownForce10(conf-if-gi-6/0)# exitForce10(config)# router ospf 1Force10(config-router_ospf )# network 2.2.3.0/24 area 1Force10(config-router_ospf )# bfd all-neighborsForce10(conf-if-gi-6/0)# ip address 2.2.4.2/24Force10(conf-if-gi-6/0)# no shutdownForce10(conf-if-gi-6/0)# exitForce10(config)# router ospf 1Force10(config-router_ospf )# network 2.2.4.0/24 area 1Force10(config-router_ospf )# bfd all-neighbors2.2.2.2/24 2.2.3.2/242.2.4.1/242.2.4.2/24R1 R3R2R4R2(conf-router_ospf)#bfd all-neighborsR2(conf-router_ospf)#do show bfd neighbors* - Active session roleAd Dn - Admin DownC - CLII - ISISO - OSPFR - Static Route (RTM)LocalAddr RemoteAddr Interface State Rx-int Tx-int Mult Clients* 2.2.2.2 2.2.2.1 Gi 2/1 Up 100 100 3 OOSPF BFD Sessions Enabled