Configure OSPFv3 to Coordinate with BFD
Configuration Condition
Before configuring OSPFv3 to coordinate with BFD, ensure that:
- The IPv6 forwarding function is enabled.
- The OSPFv3 protocol is enabled.
Configure OSPFv3 to Coordinate with BFD
Bidirectional Forwarding Detection (BFD) provides a method for quickly detecting the status of a line between two devices. If BFD is started between two adjacent OSPFv3 devices, if the line between two devices becomes faulty, BFD quickly detects the fault and informs OSPFv3 of the fault. Then, it triggers OSPFv3 to start route calculation and switch over to the backup line, achieving fast switchover of routes.
Table 8-33 Configure OSPFv3 to coordinate with BFD
Step
|
Command
|
Description
|
Enter the global configuration mode.
|
configure terminal
|
-
|
Enter the interface configuration mode.
|
interface interface-name
|
-
|
Enable or disable BFD on the specified OSPFv3 interface.
|
ipv6 ospf bfd [disable] [ instance-id instance-id ]
|
Mandatory.
By default, the BFD function is disabled.
|
Enter the global configuration mode.
|
exit
|
-
|
Enter the OSPFv3 configuration mode.
|
ipv6 router ospf process-id [vrf vrf-name ]
|
-
|
Enable BFD on all interfaces of the OSPFv3 process.
|
bfd all-interfaces
|
Optional
|
![note](/storage/images/Document/Maipu/note-icon.jpg)
-
If BFD is configured both in OSPFv3 configuration mode and interface configuration mode, the BFD configuration in the interface has the higher priority.