Configure BFD for OSPFv2 Globally

Enable BFD on OSPFv2 interfaces. For more information, see Enable BFD on an OSPFv2-enabled Interface.
  1. Access global configuration mode.
    device# configure terminal
  2. Access OSPF router configuration mode.
    device(config)# router ospf
  3. Enable BFD globally.
    device(config-router-ospf-vrf-default-vrf)# bfd 
  4. Specify the interval after which routes are withdrawn after a BFD session is declared down.
    device(config-router-ospf-vrf-default-vrf)# bfd holdover-interval 12  
    This example specifies a holdover interval of 12 seconds.