Administrator Guide

Table Of Contents
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.
Figure 14. Establishing Sessions with OSPF Neighbors
To establish BFD with all OSPF neighbors or with OSPF neighbors on a single interface, use the following commands.
Establish sessions with all OSPF neighbors.
ROUTER-OSPF mode
bfd all-neighbors
Establish sessions with OSPF neighbors on a single interface.
INTERFACE mode
ip ospf bfd all-neighbors
To view the established sessions, use the show bfd neighbors command.
The bold line shows the OSPF BFD sessions.
R2(conf-router_ospf)#bfd all-neighbors
R2(conf-router_ospf)#do show bfd neighbors
* - Active session role
Ad Dn - Admin Down
C - CLI
Bidirectional Forwarding Detection (BFD)
149