37-12
Software Configuration Guide—Release IOS XE 3.3.0SG and IOS 15.1(1)SG
OL-25340-01
Chapter 37 Configuring Bidirection Forwarding Detection
How to Configure Bidirectional Forwarding Detection
What to Do Next
See the “Monitoring and Troubleshooting BFD” section on page 37-16 for more information on
monitoring and troubleshooting BFD. If you want to configure BFD support for another routing
protocol, see the following sections:
• Configuring BFD Support for BGP, page 37-8
• Configuring BFD Support for EIGRP, page 37-9
Configuring BFD Support for OSPF for One or More Interfaces
To configure BFD on one or more OSPF interfaces, perform the steps in this section.
Prerequisites
OSPF must be running on all participating switches.
The baseline parameters for BFD sessions on the interfaces over which you want to run BFD sessions to
BFD neighbors must be configured. See the “Configuring BFD Session Parameters on the Interface”
section on page 37-8 for more information.
To configure BFD supporter for OSPF for one or more interfaces, perform this task:
Command or Action Purpose
Step 1
enable
Switch> enable
Enables privileged EXEC mode.
• Enter your password if prompted.
Step 2
configure terminal
Switch# configure terminal
Enters global configuration mode.
Step 3
interface type number
Switch(config)# interface gigabitethernet 6/1
Enters interface configuration mode.
Step 4
ip ospf bfd [disable]
Switch(config-if)# ip ospf bfd
Enables or disables BFD on a per-interface basis for one or
more interfaces associated with the OSPF routing process.
Note You should use the disable keyword only if you
enabled BFD on all of the interfaces that OSPF is
associated with using the bfd all-interfaces
command in switch configuration mode.
Step 5
end
Switch(config-if)# end
Exits interface configuration mode and returns the switch to
privileged EXEC mode.