segment-routing mapping-server (IS-IS view)

Function

The segment-routing mapping-server command enables a device to advertise or receive SIDs.

The undo segment-routing mapping-server command disables a device from advertising or receiving SIDs.

By default, only the SID receiving capability is enabled.

Format

segment-routing mapping-server { send | receive }

undo segment-routing mapping-server { send | receive }

Parameters

Parameter Description Value
send

Enables a local node to advertise the local SID label mapping messages. The local active prefix SIDs are carried in label mapping messages to be advertised.

-

receive

Enables a local node to receive remote SID label mapping messages. The local node parses SIDs carried in SID label mapping messages sent by a remote label mapping server.

-

Views

IS-IS view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
isis write

Usage Guidelines

Usage Scenario

In LDP and SR interworking scenarios, if SR is not supported on the LDP side, run the mapping-server prefix-sid-mapping command on an SR device to map the LDP prefixes to SIDs and advertise the mapping to the SR domain. The segment-routing mapping-server command enables a local device to advertise or receive the SID label mapping.

Example

# Enable a local IS-IS node to receive remote SID label mapping messages.
<HUAWEI> system-view
[~HUAWEI] segment-routing
[*HUAWEI-segment-routing] quit
[*HUAWEI] isis 1
[*HUAWEI-isis-1] cost-style wide
[*HUAWEI-isis-1] segment-routing mpls
[*HUAWEI-isis-1] segment-routing mapping-server receive
# Enable a local IS-IS node to advertise local SID label mapping messages.
<HUAWEI> system-view
[~HUAWEI] segment-routing
[*HUAWEI-segment-routing] quit
[*HUAWEI] isis 1
[*HUAWEI-isis-1] cost-style wide
[*HUAWEI-isis-1] segment-routing mpls
[*HUAWEI-isis-1] segment-routing mapping-server send
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >