Configuring BFD for OSPFv2 Globally in a Nondefault VRF Instance
BFD can be enabled globally for all OSPFv2-enabled interfaces for a nondefault VRF
instance. The following task enables BFD globally on all OSPFv2 interfaces with default
session parameters, and sets the BFD holdover interval, for a nondefault VRF instance.
- Enter the
configure terminalcommand to access global configuration mode. - Enter the
router ospfcommand with the vrf keyword, specifying a VRF, to enable OSPFv2 in a nondefault VRF instance. - Enter the
bfdcommand to enable BFD globally with default session parameters on OSPFv2 interfaces for the VRF instance. - Enter the
bfdcommand with the holdover-interval keyword, specifying a value, to set the BFD holdover interval globally.
The following example enables BFD globally on all OSPFv2 interfaces with default session parameters, and sets the BFD holdover interval to 10 seconds for VRF red.
device# configure terminal device(config)# router ospf vrf red device(config-ospf-router-vrf-red)# bfd device(config-ospf-router-vrf-red)# bfd holdover-interval 10