Enabling BFD on an OSPFv2-Enabled Interface

BFD sessions can be enabled and BFD session parameters configured for OSPFv2-enabled interfaces. The following task enables BFD for an OSPFv2-enabled Ethernet interface and sets the BFD session timer values.
  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 to enable BFD for the OSPFv2 interface.
    device(config-if-e40000-1/1/1)# ip ospf bfd
  4. Enter the ip ospf bfd command with the min-tx, min-rx, and multiplier keywords, specifying the required intervals, to configure BFD session parameters on the OSPFv2-enabled interface.
    device(config-if-e40000-1/1/1)# ip ospf bfd min-tx 280 min-rx 280 multiplier 3

The following example enables BFD for an OSPFv2-enabled Ethernet interface. The default BFD session timer values are applied. .

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

The following example enables BFD for an OSPFv2-enabled Ethernet interface and sets the BFD session timer values.

device# configure terminal
device(config)# interface ethernet 1/1/1
device(config-if-e40000-1/1/1)# ip ospf bfd
device(config-if-e40000-1/1/1)# ip ospf bfd min-tx 280 min-rx 280 multiplier 4

The following example enables BFD for an OSPFv2-enabled virtual Ethernet interface and sets the BFD session timer values.

device# configure terminal
device(config)# interface ve 25
device(config-vif-25)# ip ospf bfd
device(config-vif-25)# ip ospf bfd min-tx 280 min-rx 280 multiplier 4