Enabling MPLS

Enabling MPLS on each node in an SR-MPLS domain is the prerequisites for configuring an SR-MPLS BE tunnel.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run mpls lsr-id lsr-id

    An LSR ID is set for the local node.

    Note the following when configuring an LSR ID:
    • LSR IDs must be set before other MPLS commands are run.
    • By default, no LSR ID is set for an LSR, and an LSR ID can only be manually set.
    • Using the IP address of a loopback interface as the LSR ID is recommended for an LSR.

  3. Run mpls

    The MPLS view is displayed.

  4. Run commit

    The configuration is committed.

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