(Optional) Configuring a Policy for Triggering LSP Establishment

A policy can be configured to enable LDP to use eligible routes to establish LSPs.

Context

To establish ingress and egress LSPs on a public network, a policy can be configured to enable LDP to use eligible routes to establish LSPs.

An LSP can be established only when each LSR along the LSP has a route matching the FEC for the LSP.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run mpls

    The MPLS view is displayed.

  3. Run lsp-trigger { all | host | ip-prefix prefix-name | none }

    A policy for triggering LSP establishment is configured.

    • all: allows LDP to use IGP routes and static routes to establish LSPs. Neither public network BGP routes nor default routes can be used to establish LSPs.

    • ip-prefix: allows LDP to use FECs filtered by an IP address prefix list to establish LSPs.

    • none: disables LDP from establishing LSPs.

    If the triggering policy is changed from all to host, the LSPs that have been established using host routes are not reestablished.

  4. Run commit

    The configurations are committed.

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