Either the host address-based policy or FEC list-based policy can be used to dynamically establish BFD sessions to monitor LDP tunnels.
One of the following trigger policies can be used to establish BFD sessions to monitor LDP tunnels:
Host address-based policy: used when all host addresses are available to trigger the creation of BFD sessions.
IP address prefix-based policy: used when only FEC entries that match a specified IP address prefix can be used to trigger the creation of BFD sessions.
FEC list-based policy: used when only some host addresses are available to establish BFD sessions. The FEC list contains specified host addresses.
Perform the following steps on the ingress on which an LDP tunnel to be monitored is established:
The system view is displayed.
The MPLS view is displayed.
A policy is configured to dynamically establish a BFD session to monitor an LDP tunnel.
If no parameter is specified, the host address-based policy is used by default.
After a policy is configured, the device starts to dynamically establish a BFD session.
The configuration is committed.