Users Guide

Table Of Contents
Martian address 0, Our own AS in AS-PATH 0
Invalid Nexthop 0, Invalid AS-PATH length 0
Wellknown community 0, Locally originated 0
Local host: 20.1.1.2, Local port: 179
Foreign host: 20.1.1.1, Foreign port: 58248
BFD for OSPF
You can configure BFD to monitor and notify reachability status between OSPF neighbors. When you use BFD with OSPF, BFD sessions
are established between all neighboring interfaces participating with OSPF full state. If a neighboring interface fails, BFD notifies OSPF
protocol that a link state change has occurred.
To configure BFD for OSPF:
1. Enable BFD Globally.
2. Configure OSPF on the interconnecting routers. For more information, see Open Shortest Path First (OSPFv2 and OSPFv3).
Enable BFD Globally
To enable BFD globally:
Enable BFD globally.
bfd enable
CONFIGURATION Mode
Establishing BFD sessions with OSPFv2 neighbors
You can establish BFD sessions with all OSPF neighbors at one go. Alternatively, you can also establish BFD sessions with OSPF neighbors
corresponding to a single OSPF interface.
To establish BFD sessions with OSPFv2 neighbors:
1. Enable BFD globally
bfd enable
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
500
Layer 3