The bidirectional forwarding detection (BFD) protocol is a simple hello mechanism that detects failures in a network. BFD works with a wide variety of network environments and topologies. The failure detection timers for BFD have shorter time limits than default failure detection mechanisms, providing faster detection. These timers are also adaptive and can be adjusted to be more or less aggressive.
To enable failure detection, include the
bfd-liveness-detectionstatement:bfd-liveness-detection {detection-time {thresholdmilliseconds;}minimum-intervalmilliseconds;minimum-receive-intervalmilliseconds;transmit-interval {thresholdmilliseconds;minimum-intervalmilliseconds;}multipliernumber;version (0 | 1 | automatic);}To specify the threshold for the adaptation of the detection time, include the
thresholdstatement:detection-time {thresholdmilliseconds;}To specify the minimum transmit and receive interval for failure detection, include the
minimum-intervalstatement:minimum-intervalmilliseconds;
NOTE: Specifying an interval smaller than 300ms can cause undesired BFD flapping.
To specify only the minimum receive interval for failure detection, include the
minimum-receive-intervalstatement:minimum-receive-intervalmilliseconds;To specify the detection time multiplier for failure detection, include the
multiplierstatement:multipliernumber;To specify the threshold for detecting the adaptation of the transmit interval, include the
thresholdstatement:transmit-interval {thresholdmilliseconds;}The threshold value must be greater than the transmit interval.
To specify only the minimum transmit interval for failure detection, include the
minimum-intervalstatement:transmit-interval {minimum-intervalmilliseconds;}To specify the BFD version used for detection, include the
versionstatement:version(1 | automatic);For a list of hierarchy levels at which you can configure these statements, see the statement summary sections for these statements.