39-9
Software Configuration Guide—Release IOS XE 3.6.0E and IOS 15.2(2)SG
OL_28731-01
Chapter 39 Configuring Bidirection Forwarding Detection
How to Configure Bidirectional Forwarding Detection
Configuring BFD Support for Dynamic Routing Protocols
You can enable BFD support for dynamic routing protocols at the router level to enable BFD support
globally for all interfaces or you can configure BFD on a per-interface basis at the interface level.
This section describes the following procedures:
• Configuring BFD Support for BGP, page 39-9 (optional)
• Configuring BFD Support for EIGRP, page 39-10 (optional)
• Configuring BFD Support for OSPF, page 39-11 (optional)
Configuring BFD Support for BGP
This section describes the procedure for configuring BFD support for BGP so that BGP is a registered
protocol with BFD and will receive forwarding path detection failure messages from BFD.
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 39-8 for more information.
To configure BFD support for BGP, 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
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.