ip ospf bfd

Enables Bidirectional Forwarding Detection (BFD) on a specific OSPFv2 interface.

Syntax

ip ospf bfd
no ip ospf bfd

Modes

Interface subtype configuration mode

Usage Guidelines

BFD sessions are initiated only if BFD is also enabled globally using the bfd command in OSPF router configuration mode. If BFD is disabled using the no bfd command in OSPF router configuration mode, BFD sessions on specific OSPFv2 interfaces are deregistered.

The no form of the command removes all BFD sessions from a specified interface.

Examples

The following example enables BFD on an OSPF Ethernet interface.

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

The following example disables BFD on an OSPF virtual Ethernet (VE) interface.

device# configure terminal
device(config)# interface ve 24
device(config-if-ve-24)# no ip ospf bfd