37-10
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
Prerequisites
EIGRP 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 support for EIGRP, perform this task:
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 OSPF, page 37-10
Configuring BFD Support for OSPF
This section describes the procedures for configuring BFD support for OSPF so that OSPF is a registered
protocol with BFD and will receive forwarding path detection failure messages from BFD. You can
either configure BFD support for OSPF globally on all interfaces or configure it selectively on one or
more interfaces.
There are two methods for enabling BFD support for OSPF:
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
Switch eigrp as-number
Switch(config)# router eigrp 123
Configures the EIGRP routing process and enters router
configuration mode.
Step 4
bfd all-interfaces
or
bfd interface type number
Switch(config-router)# bfd all-interfaces
or
Switch(config-router)# bfd interface
gigabitethernet 6/1
Enables BFD globally on all interfaces associated with the
EIGRP routing process.
or
Enables BFD on a per-interface basis for one or more
interfaces associated with the EIGRP routing process.
Step 5
end
Switch(config-router) end
Exits router configuration mode and returns the switch to
privileged EXEC mode.
Step 6
show bfd neighbors [details]
Switch# show bfd neighbors details
(Optional) Verifies that the BFD neighbor is active and
displays the routing protocols that BFD has registered.
Step 7
show ip eigrp interfaces [type number]
[as-number] [detail]
Switch# show ip eigrp interfaces detail
(Optional) Displays the interfaces for which BFD support
for EIGRP has been enabled.