Install Guide

Table Of Contents
The bold line shows the OSPF BFD sessions.
R2(conf-router_ospf)#bfd all-neighbors
R2(conf-router_ospf)#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.2 2.2.2.1 Te 2/1/1 Up 100 100 3 O
* 2.2.3.1 2.2.3.2 Te 2/2/1 Up 100 100 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.
show bfd vrf VRF_blue neighbors
* - Active session role
Ad Dn - Admin Down
B - BGP
C - CLI
I - ISIS
O - OSPF
O3 - OSPFv3
R - Static Route (RTM)
M - MPLS
V - VRRP
VT - Vxlan Tunnel
LocalAddr RemoteAddr Interface State Rx-int Tx-int Mult Clients
* 5.1.1.1 5.1.1.2 Po 30 Up 200 200 3 O
152
Bidirectional Forwarding Detection (BFD)