OcNOS-SP : Segment Routing Guide : Segment Routing Command Reference : On-Demand Nexthop Commands : A.B.C.D (IP constraints)
A.B.C.D (IP constraints)
Use this command to set IP constraints for a dynamic candidate path. Use the no form of this command to remove an IP constraint from a dynamic candidate path.
Command Syntax
A.B.C.D (loose|strict|)
no A.B.C.D
Parameters
loose
Make this constraint loose
strict
Make this constraint strict
Default
By default, IP constraint is considered as loose.
Command Mode
ODN Candidate path constraint mode
Applicability
This command was introduced in OcNOS version 6.2.0.
Example
OcNOS#conf t
OcNOS(config)#segment-routing
OcNOS(config-sr)#traffic-engineering
OcNOS(config-sr-te)#on-demand-nexthop 101
OcNOS(config-sr-odn)#candidate-path 1
OcNOS(config-sr-odn-cp)#constraints
OcNOS(config-sr-odn-dyn-cp-cons)#1.1.1.1 loose
OcNOS(config-sr-odn-dyn-cp-cons)#end
Last modified date: 10/20/2023