You can configure Bidirectional Forwarding Detection (BFD) for LDP LSPs. BFD can be turned on for all or a subset of LDP IPv4 FECs.
An error is logged whenever a BFD session for a path fails. The following shows how BFD for LDP LSP log messages might appear:
RPD_LDP_BFD_UP: LDP BFD session for FEC 10.255.16.14/32 is up RPD_LDP_BFD_DOWN: LDP BFD session for FEC 10.255.16.14/32 is down
You can also configure BFD for RSVP LSPs, as described in Configuring BFD for RSVP LSPs.
To enable BFD for LDP LSPs, include the oam and bfd-liveness-detection statements. You can enable BFD for all LDP LSPs on the router or just for the LDP LSPs associated with a specific FEC.
-
oam {
-
-
bfd-liveness-detection {
- ecmp;
- minimum-interval milliseconds;
- minimum-receive-interval milliseconds;
- minimum-transmit-interval milliseconds;
- multiplier detection-time-multiplier;
- }
- fec fec-address;
- }
For a list of hierarchy levels at which you can include this statement, see the statement summary section for this statement.
The oam statement includes the following option:
The bfd-liveness-detection statement includes the following options: