OcNOS-SP : Segment Routing Guide : Segment Routing Command Reference : Segment Routing v6 Policy Commands : index segment-type-2
index segment-type-2
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-2 X:X::X:X
no index <1-65535> segment-type-2
Parameters
<1-65535>
Index number.
X:X::X:X
IPv6 address.
Default
By default, no segment is configured.
Command Mode
Segment list mode
Applicability
This command was introduced in OcNOS version 5.1.
Examples
#configure terminal
(config)#segment-routing
(config-sr)#traffic-engineering
(config-sr-te)#segment-list sid_list2
(config-sr-sl)#index 1 segment-type-2 cafe:1:2:a11:1001::
 
#configure terminal
(config)#segment-routing
(config-sr)#traffic-engineering
(config-sr-te)#segment-list sid_list2
(config-sr-sl)#no index 1 segment-type-2
Last modified date: 10/20/2023