OcNOS-SP : Segment Routing Guide : Segment Routing Command Reference : Segment Routing v6 Policy Commands : color end-point
color end-point
Use this command to configure key parameters for segment routing policy.
Use the no form of this command to remove a segment routing policy key.
Command Syntax
color <1-4294967295> end-point X:X::X:X
no color <1-4294967295> end-point X:X::X:X
Parameters
<1-4294967295>
Color value
X:X::X:X
IPv6 address type
Defaults
By default, no segment routing policy key is configured.
Command Mode
Segment routing policy mode
Applicability
This command was introduced in OcNOS version 5.1.
Example
#configure terminal
(config)#segment-routing
(config-sr)#traffic-engineering
(config-sr-te)#policy SR_POLICY_1
(config-sr-pol)#color 1 end-point 2001::2
(config-sr-pol)
 
#configure terminal
(config)#segment-routing
(config-sr)#traffic-engineering
(config-sr-te)#policy SR_POLICY_1
(config-sr-pol)#no color 1 end-point 2001::2
 
Last modified date: 10/20/2023