(Optional) Configuring BFD for a Specified Interface
Context
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:
Procedure
- Run system-view
The system view is displayed.
- Run interface interface-type interface-number
The interface view is displayed.
- Run ospfv3 bfd enable
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 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.
- Run commit
The configuration is committed.