Configuring Basic SR-MPLS BE Functions

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

Context

Basic SR-MPLS BE function configurations mainly involve enabling SR globally, specifying an SRGB, and configuring an SR prefix SID.

Procedure

  1. Enable SR globally.
    1. Run system-view

      The system view is displayed.

    2. Run segment-routing

      SR is enabled globally, and the Segment Routing view is displayed.

    3. Run commit

      The configuration is committed.

    4. Run quit

      Return to the system view.

  2. Specify an SRGB.
    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 segment-routing mpls

      The IS-IS Segment Routing function is enabled.

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

      An SRGB range is specified 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.

    7. Run commit

      The configuration is committed.

    8. Run quit

      Return to the system view.

  3. Configure an SR prefix SID.
    1. Run system-view

      The system view is displayed.

    2. Run interface loopback loopback-number

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

    3. Run isis enable [ process-id ]

      The IS-IS interface is enabled.

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

      The IP address is configured for the loopback interface.

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

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

    6. Run commit

      The configuration is committed.

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