Configuring BFD Configuring BFD
page 20-18 OmniSwitch AOS Release 7 Network Configuration Guide June 2013
Configuring BFD Support for BGP
The steps below show how to configure and verify BFD support for the BGP protocol, so that BGP is a
registered protocol with BFD and receives forwarding path detection failure messages from BFD.
Note. BFD must be configured and enabled on the participating BGP interfaces. See “Configuring BFD
Session Parameters” on page 20-11 for more information.
1 To associate BGP protocol with BFD liveliness detection, register BGP with BFD at the protocol level
using the ip bgp bfd-state command as shown below:
-> ip bgp bfd-state enable
The BFD status for the BGP protocol is now enabled, which means that communication between BGP
and BFD is enabled. To de-register BGP with BFD, enter the following command:
-> ip bgp bfd-state disable
To verify the BFD status for BGP protocol, you can use the show ip bgp command as shown below:
-> show ip bgp
Admin Status = disabled,
Operational Status = down,
Autonomous System Number = 1,
BGP Router Id = 0.0.0.0,
Confederation Identifier = 0,
IGP Synchronization Status = disabled,
Minimum AS Origin Interval (seconds) = 15,
Default Local Preference = 100,
Route Reflection = disabled,
Cluster Id = 0.0.0.0,
Missing MED Status = Best,
Aspath Comparison = enabled,
Always Compare MED = disabled,
Fast External FailOver = disabled,
Log Neighbor Changes = disabled,
Multiple Paths = disabled,
Graceful Restart = enabled,
Graceful Restart Status = Not Restarting,
Configured Graceful Restart Interval = 90s,
IPv4 Unicast = enabled,
IPv6 Unicast = disabled,
BFD Status = disabled
2 Once BGP is registered with BFD at the protocol level, you need to enable BFD for particular BGP
neighbors using the ip bgp neighbor bfd-state command as shown below:
-> ip bgp neighbor 135.10.10.2 bfd-state enable
The above command enables BFD for neighbor with IP address 135.10.10.2. To enable BFD for all
BGP neighbors, use the ip bgp bfd-state all-neighbors command as shown below:
-> ip bgp bfd-state all-neighbors enable
To disable BFD for all configured BGP neighbors, use the ip bgp bfd-state all-neighbors with the
disable keyword, as shown below: