Disabling BFD for OSPF-enabled Interfaces

BFD sessions can be disabled on OSPF-enabled interfaces if it has been enabled. The following task disables BFD for an OSPFv2-enabled Ethernet interface, overriding the global setting.
  1. Enter the configure terminal command to access global configuration mode.
    device# configure terminal
  2. Enter the interface command, specifying an interface.
    device(config)# interface ethernet 1/1/1
  3. Enter the ip ospf bfd command with the disable keyword to disable BFD on the OSPF-enabled interface.
    device(config-if-e40000-1/1/1)# ip ospf bfd disable

The following example disables BFD on an OSPFv2-enabled Ethernet interface.

device# configure terminal 
device(config)# interface ethernet 1/1/1
device(config-if-e40000-1/1/1)# ip ospf bfd disable

The following example disables BFD on an OSPFv3-enabled virtual Ethernet interface.

device# configure terminal
device(config)# interface ve 26
device(config-vif-26)# ipv6 ospf bfd disable