White Papers

Table Of Contents
C - CLI
I - ISIS
O - OSPF
R - Static Route (RTM)
LocalAddr RemoteAddr Interface State Rx-int Tx-int Mult Clients
* 2.2.2.2 2.2.2.1 Gi 2/1 Up 200 200 3 O
* 2.2.3.1 2.2.3.2 Gi 2/2 Up 200 200 3 O
Establishing Sessions with OSPF Neighbors for nondefault VRFs
To configure BFD in a nondefault VRF, follow this procedure:
Enable BFD globally.
CONFIGURATION mode
bfd enable
Establish sessions with all OSPF neighbors in a specific VRF.
ROUTER-OSPF mode
bfd all-neighbors
Establish sessions with OSPF neighbors on a single interface in a specific VRF.
INTERFACE mode
ip ospf bfd all-neighbors
to disable BFD on a specific OSPF enabled interface, use the ip ospf bfd all-neighbors disable command. You
can also use the no bfd enable command to disable BFD on a specific interface.
The following example shows the configuration to establish sessions with all OSPF neighbors in a specific VRF:
router ospf 20 vrf VRF_blue
bfd all-neighbors
!
The following example shows the configuration to establish sessions with all OSPF neighbors on a single interface in a specific
VRF:
int vlan 20
ip vrf forwarding vrf VRF_blue
ip ospf bfd all-neighbors
The following example shows the show bfd neighbors command output.
Changing OSPF Session Parameters
Configure BFD sessions with default intervals and a default role.
The parameters that you can configure are: desired tx interval, required min rx interval, detection
multiplier, and system role. Configure these parameters for all OSPF sessions or all OSPF sessions on a particular
interface. If you change a parameter globally, the change affects all OSPF neighbors sessions. If you change a parameter at the
interface level, the change affects all OSPF sessions on that interface.
To change parameters for all OSPF sessions or for OSPF sessions on a single interface, use the following commands.
Change parameters for OSPF sessions.
ROUTER-OSPF mode
bfd all-neighbors interval milliseconds min_rx milliseconds multiplier value role [active
| passive]
Change parameters for all OSPF sessions on an interface.
INTERFACE mode
ip ospf bfd all-neighbors interval milliseconds min_rx milliseconds multiplier value role
[active | passive]
140
Bidirectional Forwarding Detection (BFD)