The display isis segment-routing mapping-server command displays mapping between prefixes and SIDs in an IS-IS process.
Parameter | Description | Value |
---|---|---|
process-id |
Specifies the ID of an IS-IS process. |
The value is an integer ranging from 1 to 4294967295. |
ip-address |
Specifies the IP address of an interface. |
The value is in dotted decimal notation. |
mask-length |
Specifies a mask length. |
The value is an integer ranging from 0 to 32. |
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. To view mapping between prefixes and SIDs in an IS-IS process, run the display isis segment-routing mapping-server command.
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display isis 1 segment-routing mapping-server
Mapping-Server information for ISIS(1)
-------------------------------------------
Total Count(s): 8
Destination AdverRouter Sid
-------------------------------------------
2.2.2.2/32 1111.1111.1111-L1 22
2.2.2.2/32 1111.1111.1111-L2 22
3.3.3.3/32 1111.1111.1111-L1 20000
3.3.3.3/32 1111.1111.1111-L2 20000
5.5.5.5/32 1111.1111.1111-L1 5000
5.5.5.5/32 1111.1111.1111-L2 5000
5.5.5.6/32 1111.1111.1111-L1 5001
5.5.5.6/32 1111.1111.1111-L2 5001
<HUAWEI> display isis 1 segment-routing mapping-server
Mapping-Server information for ISIS(1)
-------------------------------------------
Total Count(s): 4
Destination AdverRouter Sid
-------------------------------------------
2.2.2.2/32 1111.1111.1111* 22
3.3.3.3/32 1111.1111.1111* 20000
5.5.5.5/32 1111.1111.1111* 5000
5.5.5.6/32 1111.1111.1111* 5001
Item | Description |
---|---|
Total Count(s) | The total number of records. |
Destination | Destination prefix. |
AdverRouter | Advertising device. |
Sid | SID value. |