37-8
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
• Configuring BFD Support for Dynamic Routing Protocols, page 37-8 (required)
• Configuring BFD Support for Static Routing, page 37-13 (optional)
• Configuring BFD Echo Mode, page 37-14 (optional)
• Monitoring and Troubleshooting BFD, page 37-16 (optional)
Configuring BFD Session Parameters on the Interface
The steps in this procedure show how to configure BFD on the interface by setting the baseline BFD
session parameters on an interface. Repeat the steps in this procedure for each interface over which you
want to run BFD sessions to BFD neighbors.
To configure BFD session parameters, perform this task:
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 37-8 (optional)
• Configuring BFD Support for EIGRP, page 37-9 (optional)
• Configuring BFD Support for OSPF, page 37-10 (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.
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
bfd interval milliseconds min_rx milliseconds multiplier
interval-multiplier
Switch(config-if)# bfd interval 50 min_rx 50 multiplier 5
Switch(config-if)# no bfd echo
Enables BFD on the interface.
Disables BFD echo mode to enable Hardware
Off-load.
Step 5
end
Switch(config-if)# end
Exits interface configuration mode and returns
to privileged EXEC mode.