Enabling MPLS TE

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

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run mpls lsr-id lsr-id

    The LSR ID is set for the local node.

    Note the following issues when setting an LSR ID:
    • LSR IDs must be set before other MPLS commands are run.

    • No default LSR ID is available.

    • 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 mpls te

    MPLS TE is enabled globally.

  5. (Optional) Enable interface-specific MPLS TE.

    In a scenario where the controller or ingress performs path computation, interface-specific MPLS TE must be enabled. In a static explicit path mode, this step can be ignored.

    1. Run quit

      The system view is displayed.

    2. Run interface interface-type interface-number

      The view of the interface on which the MPLS TE tunnel is established is displayed.

    3. Run mpls

      MPLS is enabled on an interface.

    4. Run mpls te

      MPLS TE is enabled on the interface.

  6. Run commit

    The configuration is committed.

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