The bidirectional forwarding detection (BFD) protocol uses control packets and shorter detection time limits to detect failures more rapidly in a network. Working with a wide variety of network environments and topologies, BFD failure detection timers provide faster detection by using shorter time limits than the PIM hello hold time. These timers are also adaptive and you can adjust them to be more or less aggressive.
To enable failure detection, include the bfd-liveness-detection statement:
-
bfd-liveness-detection {
-
minimum-interval milliseconds;
-
minimum-receive-interval milliseconds;
-
minimum-transmit-interval milliseconds;
-
multiplier number;
-
version (0 | 1 | automatic);
- }
![]() |
Note: You must specify the minimum transmit and minimum receive intervals to enable BFD on PIM. |
To specify the minimum transmit and receive interval for failure detection, include the minimum-interval statement:
-
minimum-interval milliseconds;
![]() |
Note: Specifying an interval smaller than 300 ms can cause undesired BFD flapping. |
To specify only the minimum receive interval for failure detection, include the minimum-receive-interval statement:
-
minimum-receive-interval milliseconds;
To specify only the minimum transmit interval for failure detection, include the minimum-transmit-interval statement:
-
minimum-transmit-interval milliseconds;
To specify the detection time multiplier for failure detection, include the multiplier statement:
-
multiplier number;
To specify the BFD version used for detection, include the version statement:
-
version (0 | 1 | automatic);
For a list of hierarchy levels at which you can configure these statements, see the statement summary sections for these statements.