R2511-HP MSR Router Series Layer 3 - IP Routing Configuration Guide(V5)

83
Configuring BFD for OSPF
Bidirectional forwarding detection (BFD) provides a single mechanism to quickly detect and monitor the
connectivity of links between OSPF neighbors, reducing network convergence time. For more information
about BFD, see High Availability Configuration Guide.
OSPF supports the following BFD detection methods:
Control packet bidirectional detection, which requires BFD configuration to be made on both OSPF
routers on the link.
Echo packet single-hop detection, which requires BFD configuration to be made on one OSPF router
on the link.
Configuring control packet bidirectional detection
Both ends of a BFD session must be on the same network segment and in the same area. One network
segment can only belong to one area.
To enable BFD control packet bidirectional detection on an OSPF interface:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter interface view.
interface interface-type
interface-number
N/A
3. Enable BFD control packet bidirectional
detection on the interface.
ospf bfd enable
Not enabled by
default.
Configuring echo packet single-hop detection
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Configure the source address of echo
packets.
bfd echo-source-ip ip-address
Not configured by
default.
3. Enter interface view.
interface interface-type
interface-number
N/A
4. Enable BFD echo packet single-hop
detection on the interface.
ospf bfd enable echo
Not enabled by
default.
Displaying and maintaining OSPF
Task Command
Remarks
Display OSPF brief information.
display ospf [ process-id ] brief [ | { begin |
exclude | include } regular-expression ]
Available in any
view.
Display OSPF statistics.
display ospf [ process-id ] cumulative [ | { begin |
exclude | include } regular-expression ]
Available in any
view.