Chapter 37
Configuring Bidirection 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
section on page 37-8
To configure BFD support for BGP, perform this task:
Command or Action
Step 1
enable
Switch> enable
Step 2
configure terminal
Switch# configure terminal
Step 3
router bgp as-tag
Switch(config)# router bgp tag1
Step 4
neighbor ip-address fall-over bfd
Switch(config-router)# neighbor 172.16.10.2
fall-over bfd
Step 5
end
Switch(config-router)# end
Step 6
show bfd neighbors [details]
Switch# show bfd neighbors detail
Step 7
show ip bgp neighbor
Switch# show ip bgp neighbor
What to Do Next
See the
monitoring and troubleshooting BFD. If you want to configure BFD support for another routing
protocol, see the following sections:
•
•
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:
•
•
OL-25340-01
for more information.
"Monitoring and Troubleshooting BFD" section on page 37-16
Configuring BFD Support for EIGRP, page 37-9
Configuring BFD Support for OSPF, page 37-10
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.
How to Configure Bidirectional Forwarding Detection
"Configuring BFD Session Parameters on the Interface"
Purpose
Enables privileged EXEC mode.
Enter your password if prompted.
•
Enters global configuration mode.
Specifies a BGP process and enters router configuration
mode.
Enables BFD support for fallover.
Exits router configuration mode and returns the switch to
privileged EXEC mode.
(Optional) Verifies that the BFD neighbor is active and
displays the routing protocols that BFD has registered.
(Optional) Displays information about BGP and TCP
connections to neighbors.
Software Configuration Guide—Release IOS XE 3.3.0SG and IOS 15.1(1)SG
for more information on
37-9