The bfd all-interfaces command sets values for BFD session parameters used in BFD for IS-IS.
The undo bfd all-interfaces command restores the default values of BFD session parameters used in BFD for IS-IS.
By default, the minimum intervals for receiving and sending BFD packets are 1000 ms and the detection time multiplier is 3.
Only the 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 support this command.
bfd all-interfaces { min-rx-interval receive-interval | min-tx-interval transmit-interval | detect-multiplier multiplier-value | frr-binding } *
undo bfd all-interfaces { min-rx-interval [ receive-interval ] | min-tx-interval [ transmit-interval ] | detect-multiplier [ multiplier-value ] | frr-binding } *
Parameter | Description | Value |
---|---|---|
min-rx-interval receive-interval |
Specifies the minimum interval for receiving BFD packets from the peer end. The interval for receiving BFD packets between determines the BFD session detection time. On an unstable link, a smaller receive interval may result in BFD session flapping. To prevent BFD session flapping, increase the receive interval. |
The value is an integer that ranges from 100 to 1000, in milliseconds.
|
min-tx-interval transmit-interval |
Specifies the minimum interval for transmitting BFD packets to the peer end. The interval for transmitting BFD packets determines the BFD session detection time. On a stable link, you can increase the transmit interval to prevent frequent link status detection. |
The value is an integer that ranges from 100 to 1000, in milliseconds.
|
detect-multiplier multiplier-value |
Specifies the local detection multiplier. On a stable link, you can increase the BFD detection multiplier to prevent frequent link status detection. |
The value is an integer that ranges from 3 to 50. The default value is 3. |
frr-binding |
Binds the BFD session status to IS-IS Auto FRR. When BFD detects a link fault on an interface, the BFD session goes Down, triggering FRR on the interface. Then traffic is switched from the faulty link to the backup link to ensure traffic forwarding. |
- |
Usage Scenario
During the establishment of a BFD session, you can adjust the interval for transmitting BFD packets, interval for receiving BFD packets, and local detection multiplier according to network and performance requirements.
Precautions
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.
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.