The bfd all-interfaces command sets the values of BFD session parameters.
The undo bfd all-interfaces command restores the default values of BFD session parameters.
By default, the BFD session parameters with default values.
bfd all-interfaces { min-rx-interval receive-interval | min-tx-interval transmit-interval | detect-multiplier multiplier-value } *
undo bfd all-interfaces { min-rx-interval [ receive-interval ] | min-tx-interval [ transmit-interval ] | detect-multiplier [ multiplier-value ] } *
| Parameter | Description | Value |
|---|---|---|
min-rx-interval receive-interval |
Specifies the minimum interval for receiving BFD packets from the peer. |
The value is an integer ranging from 100 to 1000, in milliseconds. The default value is 1000. |
min-tx-interval transmit-interval |
Specifies the minimum interval for sending BFD packets to the peer. |
The value is an integer ranging from 100 to 1000, in milliseconds. The default value is 1000. |
detect-multiplier multiplier-value |
Specifies the local detection multiple. |
The value is an integer that ranges from 3 to 50. By default, the value is 3. |
The value of receive-interval is obtained by negotiating the local min-rx-interval value and the remote min-tx-interval value. If a router does not receive any BFD packet from its peer in the receive-interval ×multiplier-value period, the router advertises that its peer is Down.
BFD detection intervals are calculated as follows:
If only parameters of a BFD session are set but the bfd all-interfaces enable command is not used, the BFD session cannot be set up.
The BFD priority of the interface is higher than the BFD priority of the process. If BFD of the interface is enabled, the BFD session is set up based on the BFD parameters on the interface.