Configuring BFD for OSPFv2 Globally

BFD can be enabled globally for all OSPFv2-enabled interfaces for a VRF. The following task enables BFD globally on all OSPFv2 interfaces with default session parameters, and sets the BFD holdover interval.
  1. Enter the configure terminal command to access global configuration mode.
    device# configure terminal
  2. Enter the router ospf command to enter OSPF router configuration mode and enable OSPF on the device.
    device(config)# router ospf
  3. Enter the bfd command to enable BFD globally with default session parameters on OSPFv2 interfaces.
    device(config-ospf-router)# bfd
  4. Enter the bfd holdover-interval command and specify a value to set the BFD holdover interval globally.
    device(config-ospf-router)# bfd holdover-interval 10

The following example enables BFD globally on all OSPFv2 interfaces with default session parameters, and sets the BFD holdover interval to 10 seconds.

device# configure terminal
device(config)# router ospf 
device(config-ospf-router)# bfd
device(config-ospf-router)# bfd holdover-interval 10