The index sid label command configures a SID for a segment list.
The undo index sid label command deletes the SID configured for a segment list.
By default, no SID is configured for a segment list.
Parameter | Description | Value |
---|---|---|
index |
Specifies a SID index. The index field determines the location of a SID in the label stack of a segment list. In the label stack, SIDs are placed by index in ascending order. |
The value is an integer ranging from 0 to 4294967295. |
label |
Specifies a SID value. |
The value is an integer ranging from 16 to 1048575. |
Usage Scenario
To configure a SID for a segment list manually planned for an SR-MPLS TE Policy, run the index sid label command.
You can run the command multiple times to configure multiple SIDs. The system generates a segment list with a label stack containing SIDs that are placed by index in ascending order. If a candidate path in the SR-MPLS TE Policy is preferentially selected, traffic is forwarded using the segment list of the candidate path. A maximum of 10 SIDs can be configured for each segment list.