Connectivity Guide

Table Of Contents
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
!
In this example OSPF is enabled in non-default VRF red. BFD is enabled globally at the router OSPF level and all the interfaces associated
with this VRF OSPF instance inherit the global BFD conguration. However, this global BFD conguration does not apply to interfaces in
which the interface level BFD conguration is already present. Also, VLAN 200 takes the interface level BFD conguration as interface-level
BFD conguration takes precedent over the global OSPF-level BFD conguration.
Changing OSPFv2 BFD session parameters
Congure BFD sessions with default intervals and a default role.
The parameters that you can congure are: desired tx interval, required min rx interval, detection multiplier, and system role. Congure
these parameters for all OSPF sessions or all OSPF sessions on a particular interface. If you change a parameter globally, the change
aects all OSPF neighbors sessions. If you change a parameter at the interface level, the change aects all OSPF sessions on that
interface.
NOTE
: By default, OSPF uses the following BFD parameters for it's neighbors: min_tx = 200 msec, min_rx = 200 msec, multiplier
= 3, role = active. If BFD is congured under interface context, that will be given high priority.
Layer 3 309