Users Guide

CONFIGURATION Mode
2. Enter ROUTER-OSPF mode
router ospf ospf-instance
CONFIGURATION Mode
3. Establish sessions with all OSPFv2 neighbors.
bfd all-neighbors
ROUTER-OSPF Mode
4. Enter INTERFAC E CONFIGURATION mode.
interface interface-name
CONFIGURATION Mode
5. Establish BFD sessions with OSPFv2 neighbors corresponding to a single OSPF interface.
ip ospf bfd all-neighbors
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
Layer 3
771