Step
Enable OSPF NSR.
2.
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:
Step
Enter system view.
1.
Enable an OSPF process and enter
2.
OSPF view.
Specify a network to enable the interface
3.
attached to the network to run the OSPF
process in the area.
Exit to system view.
4.
Enter interface view.
5.
Enable BFD control packet bidirectional
6.
detection on the interface.
Configuring echo packet single-hop detection
Step
Enter system view.
1.
Configure the source address of echo
2.
packets.
Enable an OSPF process and enter
3.
OSPF view.
Specify a network to enable the interface
4.
attached to the network to run the OSPF
process in the area.
Command
ospf non-stop-routing
Command
system-view
ospf [ process-id | router-id router-id
| vpn-instance vpn-instance-name ] *
network ip-address wildcard-mask
quit
interface interface-type
interface-number
ospf bfd enable
Command
system-view
bfd echo-source-ip ip-address
ospf [ process-id | router-id router-id
| vpn-instance vpn-instance-name ] *
network ip-address wildcard-mask
86
Remarks
By default, OSPF NSR is
disabled.
Remarks
N/A
N/A
N/A
N/A
N/A
Not enabled by
default.
Remarks
N/A
Not configured by
default.
N/A
N/A