API Guide

Table Of Contents
Establishing Sessions with OSPF Neighbors for the Default VRF
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 13. Establishing Sessions with OSPF Neighbors
To establish BFD with all OSPF neighbors or with OSPF neighbors on a single interface, use the following commands.
● Enable BFD globally.
CONFIGURATION mode
bfd enable
● 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.
Bidirectional Forwarding Detection (BFD)
141