Users Guide

Example of the show bfd neighbors Command to Verify Static Routes
To verify that sessions have been created for static routes, use the show bfd neighbors command.
R1(conf)#ip route 2.2.3.0/24 2.2.2.2
R1(conf)#ip route bfd
R1(conf)#do show bfd neighbors
* - Active session role
Ad Dn - Admin Down
C - CLI
I - ISIS
O - OSPF
R - Static Route (RTM)
LocalAddr RemoteAddr Interface State Rx-int Tx-int Mult Clients
2.2.2.1 2.2.2.2 Te 4/24 Up 100 100 4 R
To view detailed session information, use the show bfd neighbors detail command, as shown in the examples in Displaying
BFD for BGP Information.
Changing Static Route Session Parameters
BFD sessions are congured with default intervals and a default role.
The parameters you can congure are: Desired TX Interval, Required Min RX Interval, Detection Multiplier, and system role. These
parameters are congured for all static routes. If you change a parameter, the change aects all sessions for static routes.
To change parameters for static route sessions, use the following command .
Change parameters for all static route sessions.
CONFIGURATION mode
ip route bfd interval milliseconds min_rx milliseconds multiplier value role [active |
passive]
To view session parameters, use the show bfd neighbors detail command, as shown in the examples in Displaying BFD for
BGP Information
Disabling BFD for Static Routes
If you disable BFD, all static route BFD sessions are torn down.
A nal Admin Down packet is sent to all neighbors on the remote systems, and those neighbors change to the Down state.
To disable BFD for static routes, use the following command.
Disable BFD for static routes.
CONFIGURATION mode
no ip route bfd
Congure BFD for OSPF
When using BFD with OSPF, the OSPF protocol registers with the BFD manager. BFD sessions are established with all neighboring
interfaces participating in OSPF. If a neighboring interface fails, the BFD agent noties the BFD manager, which in turn noties the
OSPF protocol that a link state change has occurred.
Conguring BFD for OSPF is a two-step process:
1. Enable BFD globally.
2. Establish sessions with OSPF neighbors.
Related Conguration Tasks
Changing OSPF Session Parameters
Disabling BFD for OSPF
148
Bidirectional Forwarding Detection (BFD)