Configuring an MPLS LDP Tunnel

EVPN E-Line uses P2P MPLS LDP tunnels to traverse the backbone network. This section describes how to configure an MPLS LDP tunnel.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run mpls lsr-id lsr-id

    The LSR ID of the local node is configured.

    When configuring an LSR ID, note the following:
    • Configuring an LSR ID is the prerequisite of all MPLS configurations.

    • An LSR ID must be manually configured because no default LSR ID is available.

    • Use the IP address of a loopback interface on an LSR as an LSR ID.

      The undo mpls command deletes all MPLS configurations, including the established LDP sessions and LSPs.

  3. Run mpls

    MPLS is enabled globally, and the MPLS view is displayed.

  4. Run mpls ldp

    MPLS LDP is enabled globally, and the MPLS-LDP view is displayed.

  5. Run quit

    Return to the system view.

  6. Run interface interface-type interface-number

    The view of the interface on which an LDP session is to be established is displayed.

  7. Run mpls

    MPLS is enabled on an interface.

  8. Run mpls ldp

    MPLS LDP is enabled on an interface.

    Disabling MPLS LDP from an interface leads to interruptions of all LDP sessions on the interface and deletions of all LSPs established over these LDP sessions.

  9. Run commit

    The configuration is committed.

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