ip ospf bfd

Enables Bidirectional Forwarding Detection (BFD) sessions and configures BFD session parameters for an Open Shortest Path First Version 2 (OSPFv2) interface.
Syntax
ip ospf bfd[ disable | min-tx transmit-time min-rx receive-time multiplier number | passive ]
no ip ospf bfd[ disable | min-tx transmit-time min-rx receive-time multiplier number | passive ]
Command Default

BFD is not configured for OSPF.

Parameters
disable
Disables BFD on the interface.
min-txtransmit-time
Specifies the interval, in milliseconds, a device waits to send control packets to BFD peers. Valid values range from 50 through 50000 milliseconds. The default is 300.
min-rxreceive-time
Specifies the interval, in milliseconds, a device waits to receive control packets from BFD peers. Valid values range from 50 through 50000 milliseconds. The default is 300.
multipliernumber
Specifies the number of consecutive BFD control packets that must be missed from a BFD peer before BFD determines that the connection to that peer is down. Valid values range from 2 through 50. The default is 3.
passive
Specifies that the BFD session operates in passive mode.
Modes

Interface subtype configuration mode

Usage Guidelines

Using this command overrides global settings configured using the bfd command in OSPF router configuration mode.

It is recommended to use the default values.

If BFD is disabled on an interface using the no ip ospf bfd command, and BFD is configured globally for OSPFv2, the BFD session will come up on all the OSPFv2-enabled interfaces.

If BFD is disabled on an interface using the ip ospf bfd disable command, and BFD is configured globally for OSPFv2, the BFD session will not come up on all the specified OSPFv2-enabled interface where it has been disabled.

This command is supported for ICX 7850 devices only.

The no form of the command disables BFD sessions on the interface.

The no ip ospf bfdmin-txtransmit-timemin-rxreceive-timemultipliernumber command removes configured BFD session parameters and restores the default parameters.

The no ip ospf bfd passive command removes BFD from the OSPF interface. To unconfigure passive mode for the interface, use the ip ospf bfd command.

Examples

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 address 10.0.0.2/24
device(config-if-e40000-1/1/1)# ip ospf bfd
 

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

device# configure terminal 
device(config)# interface ethernet 1/1/1
device(config-if-e40000-1/1/1)# ip address 10.0.0.2/24
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 Ethernet interface and sets the BFD session to passive.

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

The following example disables BFD for an OSPFv2-enabled Ethernet interface if it has been enabled. If BFD is then configured globally for OSPFv2, the BFD session will come up on all the OSPFv2-enabled interfaces.

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

The following example disables BFD for an OSPFv2-enabled Ethernet interface if it has been enabled. If BFD is then configured globally for OSPFv2, the BFD session will not come up the specified interface.

device# configure terminal 
device(config)# interface ethernet 1/1/1
device(config-if-e40000-1/1/1)# ip ospf bfd disable
History
Release version Command history
08.0.90 This command was introduced.