< Home

Configuring the MPLS Function

Context

Configuring basic MPLS functions includes setting up an LSP and enabling LDP.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run mpls lsr-id lsr-id

    An LSR ID is specified.

  3. Run mpls

    MPLS is enabled and the MPLS view is displayed.

  4. Run quit

    Return to the system view.

  5. Run mpls ldp

    LDP is enabled.

  6. Run quit

    Return to the system view.

  7. Run interface interface-type interface-number

    The IPv4 network-side interface view is displayed.

  8. Run mpls

    MPLS is enabled on the interface.

  9. Run mpls ldp

    MPLS LDP is enabled on the interface.

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