OcNOS-SP : Segment Routing Guide : Segment Routing Command Reference : Segment Routing Policy Commands : index segment-type-1
index segment-type-1
Use this command to configure a segment of explicit segment list.
Use the no form of this command to remove the corresponding segment list.
Command Syntax
index <1-65535> segment-type-1 <0-1048575>
no index <1-65535> segment-type-1
Parameters
<1-65535>
Index number
<0-1048575>
Label value
Default
By default, no segment is configured.
Command Mode
Segment list mode
Applicability
This command was introduced in OcNOS version 4.0.
Example
#configure terminal
(config)#segment-routing
(config-sr)#traffic-engineering
(config-sr-te)#segment-list sid_list1
(config-sr-sl)#index 1 segment-type-1 16002
(config-sr-sl)#index 2 segment-type-1 16003
(config-sr-sl)#
Last modified date: 10/20/2023