37-9
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
BGP 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 BGP, 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 EIGRP, page 37-9
• Configuring BFD Support for OSPF, page 37-10
Configuring BFD Support for EIGRP
This section describes the procedure for configuring BFD support for EIGRP so that EIGRP is a
registered protocol with BFD and will receive forwarding path detection failure messages from BFD.
There are two methods for enabling BFD support for EIGRP:
• You can enable BFD for all of the interfaces for which EIGRP is routing by using the bfd
all-interfaces command in router configuration mode.
• You can enable BFD for a subset of the interfaces for which EIGRP is routing by using the bfd
interface type number command in router configuration mode.
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
router bgp as-tag
Switch(config)# router bgp tag1
Specifies a BGP process and enters router configuration
mode.
Step 4
neighbor ip-address fall-over bfd
Switch(config-router)# neighbor 172.16.10.2
fall-over bfd
Enables BFD support for fallover.
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 detail
(Optional) Verifies that the BFD neighbor is active and
displays the routing protocols that BFD has registered.
Step 7
show ip bgp neighbor
Switch# show ip bgp neighbor
(Optional) Displays information about BGP and TCP
connections to neighbors.