Configuring Basic SR-MPLS TE Functions

This section describes how to configure basic SR-MPLS TE functions.

Context

SR-MPLS TE uses strict and loose explicit paths. Strict explicit paths use adjacency SIDs, and loose explicit paths use adjacency and node SIDs. Before an SR-MPLS TE tunnel is configured, the adjacency and node SIDs must be configured.

Procedure

  1. Configure an SRGB range.
    1. Run system-view

      The system view is displayed.

    2. Run isis [ process-id ]

      The IS-IS view is displayed.

    3. Run network-entity net-addr

      A network entity title (NET) is configured.

    4. Run cost-style { wide | compatible | wide-compatible }

      The IS-IS wide metric function is enabled.

    5. Run traffic-eng [ level-1 | level-2 | level-1-2 ]

      IS-IS TE is enabled.

    6. Run segment-routing mpls

      The IS-IS Segment Routing function is enabled.

    7. Run segment-routing global-block begin-value end-value [ ignore-conflict ]

      An SRGB range is configured for the current IS-IS instance.

      If a label in the SRGB range to be specified is in use, you can select the ignore-conflict parameter to allow configuration delivery. However, the configuration does not take effect until the device is restarted and the label is released. In normal cases, specifying ignore-conflict is not recommended.

    8. Run commit

      The configuration is committed.

    9. Run quit

      Return to the system view.

  2. Set an SR prefix SID.
    1. Run interface loopback loopback-number

      A loopback interface is created, and the loopback interface view is displayed.

    2. Run isis enable [ process-id ]

      The IS-IS interface is enabled.

    3. Run ip address ip-address { mask | mask-length }

      The IP address is configured for the loopback interface.

    4. Run isis prefix-sid { absolute sid-value | index index-value } [ node-disable ]

      An SR prefix SID is configured for the IP address of the interface.

    5. Run commit

      The configuration is committed.

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