OcNOS-SP : Segment Routing Guide : Segment Routing Command Reference : Segment Routing Policy Commands : explicit segment-list
explicit segment-list
Use this command to configure a candidate path as an explicit path and attach a segment-list to it.
Use the no form of this command to remove explicit segment-list from a candidate path.
Note: Only one segment-list can be attached to a candidate path.
Command Syntax
explicit segment-list WORD
no explicit segment-list WORD
Parameters
WORD
Name of the SID list
Default
By default, path type is not set and no segment-list is attached.
Command Mode
Candidate path 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 l1
(config-sr-sl)#exit-sr-sl
(config-sr-te)#policy SR_POLICY_1
(config-sr-pol)#candidate-path 1
(config-sr-pol-cp)#explicit segment-list l1
(config-sr-pol-cp)#
Last modified date: 10/20/2023