OcNOS-SP : Segment Routing Guide : Segment Routing Command Reference : Segment Routing Policy Commands : policy
policy
Use this command to configure a segment routing policy.
Use the no form of this command to remove a segment routing policy.
Command Syntax
policy WORD
no policy WORD
Parameters
WORD
Policy Name
Default
By default, no segment routing policy is configured.
Command Mode
Traffic engineering mode
Applicability
This command was introduced in OcNOS version 4.0.
Example
#configure terminal
(config)#segment-routing
(config-sr)#traffic-engineering
(config-sr-te)#policy SR_POLICY_1
(config-sr-pol)#
Last modified date: 10/20/2023