Setup Guide

INTERFACE mode
ip ospf bfd all-neighbors
Example of Verifying Sessions with OSPF Neighbors
To view the established sessions, use the show bfd neighbors command.
The bold line shows the OSPF BFD sessions.
Establishing Sessions with OSPF Neighbors for nondefault VRFs
To congure BFD in a nondefault VRF, follow this procedure:
Enable BFD globally.
CONFIGURATION mode
bfd enable
Establish sessions with all OSPF neighbors in a specic VRF.
ROUTER-OSPF mode
bfd all-neighbors
Establish sessions with OSPF neighbors on a single interface in a specic VRF.
INTERFACE mode
ip ospf bfd all-neighbors
to disable BFD on a specic 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 specic interface.
The following example shows the conguration to establish sessions with all OSPF neighbors in a specic VRF:
router ospf 20 vrf VRF_blue
bfd all-neighbors
!
The following example shows the conguration to establish sessions with all OSPF neighbors on a single interface in a specic 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 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
* 6.1.1.1 6.1.1.2 Vl 30 Up 200 200 3 O
134
Bidirectional Forwarding Detection (BFD)