The bfd all-interfaces command configures parameters for a BFD session.
The undo bfd all-interfaces command restores the default BFD session parameters.
By default, the default BFD session parameters are used.
bfd all-interfaces { min-tx-interval min-transmit-value | min-rx-interval min-receive-value | detect-multiplier detect-multiplier-value } *
undo bfd all-interfaces { min-tx-interval [ min-transmit-value ] | min-rx-interval [ min-receive-value ] | detect-multiplier [ detect-multiplier-value ] } *
Parameter | Description | Value |
---|---|---|
min-tx-interval min-transmit-value |
Specifies the minimum interval at which BFD packets are sent to the remote device. |
The value is an integer ranging from 3 to 20000, in milliseconds. The default value is 10. |
min-rx-interval min-receive-value |
Specifies the minimum interval at which BFD packets are received from the remote device. |
The value is an integer ranging from 3 to 20000, in milliseconds. The default value is 10. |
detect-multiplier detect-multiplier-value |
Specifies the local detection multiplier. |
The value is an integer ranging from 3 to 50. The default value is 3. |
Usage Scenario
After BFD for RIP is enabled, the default BFD parameters take effect. The minimum interval at which BFD packets are received and sent are 100 ms, and the detection multiplier is 3.
If the default parameters cannot meet network requirements, run the bfd all-interfaces command to modify the parameters to change the route convergence speed. If the local end does not receive any BFD packet from its neighbor within the detection period, the local end considers this neighbor Down. The relationships between the parameters and actual intervals or the detection period are as follows:Prerequisites
Before running this command, ensure the following operations have been performed:
Precautions
Parameters set using the rip bfd command in the interface view takes precedence over those set using the bfd all-interfaces command.