segment-routing mpls (IS-IS view)

Function

The segment-routing mpls command enables Segment Routing for an IS-IS process.

The undo segment-routing mpls command disables Segment Routing for an IS-ISF process.

By default, Segment Routing is disabled for IS-IS processes.

Format

segment-routing mpls

undo segment-routing mpls

Parameters

None

Views

IS-IS view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
isis write

Usage Guidelines

Usage Scenario

In Segment Routing implementation, an IGP is used to collect network-wide topology information and assign a label to each router. Therefore, Segment Routing must be enabled for the IGP. If IS-IS is used as the IGP, run the segment-routing mpls command in the IS-IS view to enable Segment Routing.

Prerequisites

Segment Routing has been enabled globally, and the device has been enabled to receive and send only the routes with the cost type being wide using the cost-style command.

Precautions

Segment-routing cannot work unless this configuration is done.

Example

# Enable Segment Routing in the IS-IS view.
<HUAWEI> system-view
[~HUAWEI] segment-routing
[*HUAWEI-segment-routing] quit
[*HUAWEI] isis
[*HUAWEI-isis-1] cost-style wide
[*HUAWEI-isis-1] segment-routing mpls
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >