Connectivity Guide

INTERFACE CONFIGURATION Mode
Establishing BFD sessions with OSPFv2 neighbors in a non-default VRF
instance
To establish BFD sessions with OSPFv2 neighbors in a non-default VRF instance:
1 Enable BFD globally
bfd enable
CONFIGURATION Mode
2 Enter INTERFACE CONFIGURATION mode
interface interface-name
CONFIGURATION Mode
3 Associate a non-default VRF with the interface you have entered.
ip vrf forwarding vrf1
INTERFACE CONFIGURATION Mode
4 Assign an IP address to the VRF.
ip address ip-address
VRF CONFIGURATION Mode
5 Attach the interface to an OSPF area.
ip ospf ospf-instance area area-address
VRF CONFIGURATION Mode
6 Establish BFD session with OSPFv2 neighbors in a single OSPF interface in a non-default VRF instance.
ip ospf bfd all-neoghbors
VRF CONFIGURATION Mode
7 Enter ROUTER-OSPF mode in a non-default VRF instance.
router ospf ospf-instance vrf vrf-name
8 Establish BFD sessions with all OSPFv2 instances in a non-default VRF.
bfd all-neighbors
OS10# show running-configuration ospf
!
interface vlan200
no shutdown
ip vrf forwarding red
ip address 20.1.1.1/24
ip ospf 200 area 0.0.0.0
ip ospf bfd all-neighbors disable
!
interface vlan300
no shutdown
ip vrf forwarding red
ip address 30.1.1.1/24
ip ospf 200 area 0.0.0.0
!
router ospf 200 vrf red
bfd all-neighbors
log-adjacency-changes
router-id 2.3.3.1
!
416
Layer 3