To configure BFD only on a specified interface, or enable an interface to detect link failures faster after BFD for OSPFv3 is enabled globally, configure BFD on the specified interface.
To configure BFD only on a specified interface, or enable an interface to detect link failures faster after BFD for OSPFv3 is enabled globally, perform the following steps on the interface:
The system view is displayed.
The interface view is displayed.
BFD is enabled on the interface to establish a BFD session.
When BFD is configured globally and the neighbor status is Full, OSPFv3 establishes BFD sessions on all the neighbors in the process using default BFD parameters.
You can run the ospfv3 bfd { min-transmit-interval min-transmit-value | min-receive-interval min-receive-value | detect-multiplier detect-multiplier-value | frr-binding } * [ instance instance-id ] } command to set parameters for BFD sessions.
The BFD configured on an interface takes precedence over that configured in a process. Specifically, if BFD is enabled on an interface, BFD parameters on the interface are used to establish BFD sessions.
If the parameters of a BFD session are set but the ospfv3 bfd enable command is not run, BFD cannot be enabled.
You can skip this step. The default interval at which BFD packets are transmitted and the default detection multiplier are recommended.
The parameters are configured based on the network status and network reliability requirements. A short interval at which BFD packets are transmitted can be configured for a link that has a higher requirement for reliability. A long interval at which BFD packets are transmitted can be configured for a link that has a lower requirement for reliability.
For example:
Then:
The OSPFv3 interface is enabled to adjust the cost based on BFD.
The interface-specific BFD-associated cost value has a higher priority than the process-specific BFD-associated cost value.
The configuration is committed.