The ospfv3 bfd command enables the bidirectional forwarding detection (BFD) on the specified interface enabled with OSPFv3, or sets the parameter values of a BFD session.
The undo ospfv3 bfd command deletes the BFD on the specified interface, or restores the default parameter values of a BFD session.
By default, BFD is not enabled at OSPFv3 interface level.
Product |
Support |
---|---|
S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730-H, S6730S-H, S6730-S, and S6730S-S |
Supported |
S2720-EI, S5720I-SI, S5720-LI, S5735-L, S5735S-L, S5735S-L-M, S5720S-LI, S5720S-SI, S5720-SI, S5735-S, S5735S-S, S5735-S-I, S5730S-EI, S5730-SI, S6720-LI, S6720S-LI, S6720S-SI, and S6720-SI |
Not supported |
ospfv3 bfd enable [ instance instance-id ]
ospfv3 bfd { min-transmit-interval min-transmit-value | min-receive-interval min-receive-value | detect-multiplier detect-multiplier-value } * [ instance instance-id ]
undo ospfv3 bfd enable [ instance instance-id ]
undo ospfv3 bfd { min-transmit-interval [ min-transmit-value ] | min-receive-interval [ min-receive-value ] | detect-multiplier [detect-multiplier-value ] } * [ instance instance-id ]
Parameter | Description | Value |
---|---|---|
enable |
Indicates enable BFD for OSPFv3 in the specified interface. |
- |
min-transmit-interval min-transmit-value |
Specifies the minimum interval for sending BFD packets to the peer. |
The value is an integer that ranges from 100 to 1000, in milliseconds.
|
min-receive-interval min-receive-value |
Specifies the minimum interval for receiving BFD packets from the peer. |
The value is an integer that ranges from 100 to 1000, in milliseconds.
|
detect-multiplier detect-multiplier-value |
Indicates the local detection multiplier. |
The value is an integer that ranges from 3 to 50. The default value is 3. |
instance instance-id |
Indicates the interface instance id. |
The value is an integer ranges from 0 to 255. |
Usage Scenario
A link fault or a topology change causes devices to recalculate routes. Therefore, the convergence of routing protocols must be as fast as possible to improve network performance.
Link faults are inevitable. Therefore, quickly detecting faults and notifying routing protocols of the faults is a feasible solution to immediately rectify link faults. If BFD is associated with routing protocols, BFD can speed up the convergence of routing protocols when a link fault occurs.
After OSPFv3 establishes a BFD session, the default parameter value is used. BFD session parameters can also be modified as required.
For example:
Then:
Prerequisites
The set BFD session parameters take effect only when BFD is enabled on the interface.
Configuration Impact
If the global BFD is not configured, BFD on the interface can be configured but the BFD session cannot be set up. Similarly, if the parameters of a BFD session are set but the ospfv3 bfd enable command is not configured, the BFD session cannot be set up.
The priority of BFD configured on an interface is higher than what is configured in the process. If the BFD is enabled on the interface, the BFD session is set up by using the parameters of the BFD configured on the interface.
Precautions
After BFD is configured, OSPFv3 establishes BFD sessions only with neighbors.
The ospfv3 bfd enable command and the ospfv3 bfd block command are mutually exclusive.
After BFD is disabled on the interface using the undo ospfv3 bfd enable command, the configurations of the parameters of the BFD session on the interface still exist.
# Enabling BFD on OSPFv3 on interface Vlanif10.
<HUAWEI> system-view
[HUAWEI] interface vlanif 10
[HUAWEI-Vlanif10] ospfv3 bfd enable instance 1
# Configure BFD parameters on OSPFv3 on interface Vlanif10.
<HUAWEI> system-view
[HUAWEI] interface vlanif 10
[HUAWEI-Vlanif10] ospfv3 bfd min-transmit-interval 100 min-receive-interval 100 detect-multiplier 3 instance 1