Configuring a Policy for Triggering Dynamic BFD for LDP Tunnel

Either the host address-based policy or FEC list-based policy can be used to dynamically establish BFD sessions to monitor LDP tunnels.

Context

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:

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run mpls

    The MPLS view is displayed.

  3. Run mpls bfd-trigger-tunnel { host | ip-prefix ip-prefix-name | fec-list list-name }

    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.

  4. Run commit

    The configuration is committed.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >