IPI-SEGMENT-ROUTING-ODN
Configure color
Color associated with ODN
Attribute Name: color
Attribute Type: uint32
Attribute Range: 1-4294967295
Netconf edit-config payload
<segment-routing xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-segment-routing">
<traffic-engineering>
<on-demand-nexthops>
<on-demand-nexthop> <!-- operation="delete"-->
<color>1</color>
<config>
<color>1</color>
</config>
</on-demand-nexthop>
</on-demand-nexthops>
</traffic-engineering>
</segment-routing>
Command Syntax
on-demand-nexthop <1-4294967295>
Configure cspf retry limit
Limit on the number of times a dynamic candidate path will retry to calculate segment-list
This command is supported when following feature are enabled Segment-Routing Traffic Engineering using SR-Policy Feature
Attribute Name: cspf-retry-limit
Attribute Type: uint16
Attribute Range: 1-65535
Netconf edit-config payload
<segment-routing xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-segment-routing">
<traffic-engineering>
<on-demand-nexthops>
<on-demand-nexthop>
<color>1</color>
<config>
<color>1</color>
</config>
<odn-properties>
<config>
<cspf-retry-limit>1</cspf-retry-limit> <!-- operation="delete"-->
</config>
</odn-properties>
</on-demand-nexthop>
</on-demand-nexthops>
</traffic-engineering>
</segment-routing>
Command Syntax
cspf-retry-limit <1-65535>
Configure cspf retry interval
Interval between two successive retries for calculating segment list of a dynamic candidate path using CSPF
This command is supported when following feature are enabled Segment-Routing Traffic Engineering using SR-Policy Feature
Attribute Name: cspf-retry-interval
Attribute Type: uint16
Attribute Range: 1-600
Netconf edit-config payload
<segment-routing xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-segment-routing">
<traffic-engineering>
<on-demand-nexthops>
<on-demand-nexthop>
<color>1</color>
<config>
<color>1</color>
</config>
<odn-properties>
<config>
<cspf-retry-interval>1</cspf-retry-interval> <!-- operation="delete"-->
</config>
</odn-properties>
</on-demand-nexthop>
</on-demand-nexthops>
</traffic-engineering>
</segment-routing>
Command Syntax
cspf-retry-interval <1-600>
Configure pce lsp delegate
To delegate all the configured candidate path of policy to PCE controller
This command is supported when following feature are enabled Segment-Routing Traffic Engineering using SR-Policy Feature
Attribute Name: pce-lsp-delegate
Attribute Type: empty
Netconf edit-config payload
<segment-routing xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-segment-routing">
<traffic-engineering>
<on-demand-nexthops>
<on-demand-nexthop>
<color>1</color>
<config>
<color>1</color>
</config>
<odn-properties>
<config>
</pce-lsp-delegate><!-- operation="delete"-->
</config>
</odn-properties>
</on-demand-nexthop>
</on-demand-nexthops>
</traffic-engineering>
</segment-routing>
Command Syntax
pce lsp-delegate
Configure pce state report
To only report all the configured candidate path of policy to PCE controller
This command is supported when following feature are enabled Segment-Routing Traffic Engineering using SR-Policy Feature
Attribute Name: pce-state-report
Attribute Type: empty
Netconf edit-config payload
<segment-routing xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-segment-routing">
<traffic-engineering>
<on-demand-nexthops>
<on-demand-nexthop>
<color>1</color>
<config>
<color>1</color>
</config>
<odn-properties>
<config>
</pce-state-report><!-- operation="delete"-->
</config>
</odn-properties>
</on-demand-nexthop>
</on-demand-nexthops>
</traffic-engineering>
</segment-routing>
Command Syntax
pce state-report
Configure pce entity id
Entity Id of PCEP entity to which this policy should be queried/reported/delegated
This command is supported when following feature are enabled Segment-Routing Traffic Engineering using SR-Policy Feature
Attribute Name: pce-entity-id
Attribute Type: uint8
Attribute Range: 1-255
Netconf edit-config payload
<segment-routing xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-segment-routing">
<traffic-engineering>
<on-demand-nexthops>
<on-demand-nexthop>
<color>1</color>
<config>
<color>1</color>
</config>
<odn-properties>
<config>
<pce-entity-id>1</pce-entity-id> <!-- operation="delete"-->
</config>
</odn-properties>
</on-demand-nexthop>
</on-demand-nexthops>
</traffic-engineering>
</segment-routing>
Command Syntax
pce entity <1-255>
Configure binding sid label
Configurable Value for static binding SID
This command is supported when following feature are enabled Segment-Routing Traffic Engineering using SR-Policy Feature
Attribute Name: binding-sid-label
Attribute Type: uint16
Attribute Range: 16-15999
Netconf edit-config payload
<segment-routing xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-segment-routing">
<traffic-engineering>
<on-demand-nexthops>
<on-demand-nexthop>
<color>1</color>
<config>
<color>1</color>
</config>
<odn-properties>
<config>
<binding-sid-label>16</binding-sid-label> <!-- operation="delete"-->
</config>
</odn-properties>
</on-demand-nexthop>
</on-demand-nexthops>
</traffic-engineering>
</segment-routing>
Command Syntax
binding-sid mpls label <16-15999>
Configure discriminator
Candidate path distinguisher, it’s taken as a unique identifier for a Local candidate path
Attribute Name: discriminator
Attribute Type: uint32
Attribute Range: 1-65535
Netconf edit-config payload
<segment-routing xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-segment-routing">
<traffic-engineering>
<on-demand-nexthops>
<on-demand-nexthop>
<color>1</color>
<config>
<color>1</color>
</config>
<candidate-paths>
<candidate-path> <!-- operation="delete"-->
<originator>WORD</originator>
<config>
<originator>WORD</originator>
<protocol-origin>local</protocol-origin>
<discriminator>1</discriminator>
</config>
<protocol-origin>local</protocol-origin>
<discriminator>1</discriminator>
</candidate-path>
</candidate-paths>
</on-demand-nexthop>
</on-demand-nexthops>
</traffic-engineering>
</segment-routing>
Command Syntax
candidate-path <1-65535>
Configure preference
Candidate path preference
This command is supported when following feature are enabled Segment-Routing Traffic Engineering using SR-Policy Feature
Attribute Name: preference
Attribute Type: uint16
Default Value: 100
Attribute Range: 1-65535
Netconf edit-config payload
<segment-routing xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-segment-routing">
<traffic-engineering>
<on-demand-nexthops>
<on-demand-nexthop>
<color>1</color>
<config>
<color>1</color>
</config>
<candidate-paths>
<candidate-path>
<originator>WORD</originator>
<config>
<originator>WORD</originator>
<protocol-origin>local</protocol-origin>
<discriminator>1</discriminator>
</config>
<protocol-origin>pcep</protocol-origin>
<discriminator>1</discriminator>
<preference>1</preference> <!-- operation="delete"-->
</candidate-path>
</candidate-paths>
</on-demand-nexthop>
</on-demand-nexthops>
</traffic-engineering>
</segment-routing>
Command Syntax
preference <1-65535>
Configure pcep
Dynamic candidate path properties of PCEP
This command is supported when following feature are enabled Segment-Routing Traffic Engineering using SR-Policy Feature
Attribute Name: pcep
Attribute Type: empty
Netconf edit-config payload
<segment-routing xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-segment-routing">
<traffic-engineering>
<on-demand-nexthops>
<on-demand-nexthop>
<color>1</color>
<config>
<color>1</color>
</config>
<candidate-paths>
<candidate-path>
<originator>WORD</originator>
<config>
<originator>WORD</originator>
<protocol-origin>local</protocol-origin>
<discriminator>1</discriminator>
</config>
<protocol-origin>pcep</protocol-origin>
<discriminator>1</discriminator>
<dynamic>
<config>
</pcep><!-- operation="delete"-->
</config>
</dynamic>
</candidate-path>
</candidate-paths>
</on-demand-nexthop>
</on-demand-nexthops>
</traffic-engineering>
</segment-routing>
Command Syntax
dynamic-path pcep
Configure isis instance id
Dynamic candidate path properties of ISIS
This command is supported when following feature are enabled Segment-Routing Traffic Engineering using SR-Policy Feature
Attribute Name: isis-instance-id
Attribute Type: string
Default Value: ""
Netconf edit-config payload
<segment-routing xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-segment-routing">
<traffic-engineering>
<on-demand-nexthops>
<on-demand-nexthop>
<color>1</color>
<config>
<color>1</color>
</config>
<candidate-paths>
<candidate-path>
<originator>WORD</originator>
<config>
<originator>WORD</originator>
<protocol-origin>local</protocol-origin>
<discriminator>1</discriminator>
</config>
<protocol-origin>pcep</protocol-origin>
<discriminator>1</discriminator>
<dynamic>
<config>
<isis-instance-id>WORD</isis-instance-id> <!-- operation="delete"-->
</config>
</dynamic>
</candidate-path>
</candidate-paths>
</on-demand-nexthop>
</on-demand-nexthops>
</traffic-engineering>
</segment-routing>
Command Syntax
dynamic-path isis (WORD|)
Configure ospf process id
Dynamic candidate path properties of OSPF with process-id
This command is supported when following feature are enabled Segment-Routing Traffic Engineering using SR-Policy Feature
Attribute Name: ospf-process-id
Attribute Type: int32
Attribute Range: 0-65535
Netconf edit-config payload
<segment-routing xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-segment-routing">
<traffic-engineering>
<on-demand-nexthops>
<on-demand-nexthop>
<color>1</color>
<config>
<color>1</color>
</config>
<candidate-paths>
<candidate-path>
<originator>WORD</originator>
<config>
<originator>WORD</originator>
<protocol-origin>local</protocol-origin>
<discriminator>1</discriminator>
</config>
<protocol-origin>pcep</protocol-origin>
<discriminator>1</discriminator>
<dynamic>
<config>
<ospf-process-id>0</ospf-process-id> <!-- operation="delete"-->
</config>
</dynamic>
</candidate-path>
</candidate-paths>
</on-demand-nexthop>
</on-demand-nexthops>
</traffic-engineering>
</segment-routing>
Command Syntax
dynamic-path ospf <0-65535>
Configure ospf empty
Dynamic candidate path properties of OSPF without process-id
This command is supported when following feature are enabled Segment-Routing Traffic Engineering using SR-Policy Feature
Attribute Name: ospf-empty
Attribute Type: empty
Netconf edit-config payload
<segment-routing xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-segment-routing">
<traffic-engineering>
<on-demand-nexthops>
<on-demand-nexthop>
<color>1</color>
<config>
<color>1</color>
</config>
<candidate-paths>
<candidate-path>
<originator>WORD</originator>
<config>
<originator>WORD</originator>
<protocol-origin>local</protocol-origin>
<discriminator>1</discriminator>
</config>
<protocol-origin>pcep</protocol-origin>
<discriminator>1</discriminator>
<dynamic>
<config>
</ospf-empty><!-- operation="delete"-->
</config>
</dynamic>
</candidate-path>
</candidate-paths>
</on-demand-nexthop>
</on-demand-nexthops>
</traffic-engineering>
</segment-routing>
Command Syntax
dynamic-path ospf
Configure enable
Enable constraints for the candidate path
Attribute Name: enable
Attribute Type: uint8
Netconf edit-config payload
<segment-routing xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-segment-routing">
<traffic-engineering>
<on-demand-nexthops>
<on-demand-nexthop>
<color>1</color>
<config>
<color>1</color>
</config>
<candidate-paths>
<candidate-path>
<originator>WORD</originator>
<config>
<originator>WORD</originator>
<protocol-origin>local</protocol-origin>
<discriminator>1</discriminator>
</config>
<protocol-origin>local</protocol-origin>
<discriminator>1</discriminator>
<dynamic>
<constraints>
<config>
</enable>
</config>
</constraints>
</dynamic>
</candidate-path>
</candidate-paths>
</on-demand-nexthop>
</on-demand-nexthops>
</traffic-engineering>
</segment-routing>
Command Syntax
constraints
Configure protocol origin
Enable constraints for the candidate path
This command is supported when following feature are enabled Segment-Routing Traffic Engineering using SR-Policy Feature
Attribute Name: enable
Attribute Type: empty
Netconf edit-config payload
<segment-routing xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-segment-routing">
<traffic-engineering>
<on-demand-nexthops>
<on-demand-nexthop>
<color>1</color>
<config>
<color>1</color>
</config>
<candidate-paths>
<candidate-path>
<originator>WORD</originator>
<config>
<originator>WORD</originator>
<protocol-origin>local</protocol-origin>
<discriminator>1</discriminator>
</config>
<protocol-origin>pcep</protocol-origin>
<discriminator>1</discriminator>
<dynamic>
<constraints>
<config>
</enable>
</config>
</constraints>
</dynamic>
</candidate-path>
</candidate-paths>
</on-demand-nexthop>
</on-demand-nexthops>
</traffic-engineering>
</segment-routing>
Command Syntax
enable
Configure admin group name
admin group name
Attribute Name: admin-group-name
Attribute Type: string
Attribute Name: affinity-type
Attribute Type: enum (exclude-any|include-any|include-all)
Netconf edit-config payload
<segment-routing xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-segment-routing">
<traffic-engineering>
<on-demand-nexthops>
<on-demand-nexthop>
<color>1</color>
<config>
<color>1</color>
</config>
<candidate-paths>
<candidate-path>
<originator>WORD</originator>
<config>
<originator>WORD</originator>
<protocol-origin>local</protocol-origin>
<discriminator>1</discriminator>
</config>
<protocol-origin>local</protocol-origin>
<discriminator>1</discriminator>
<dynamic>
<constraints>
<affinity-admin-groups>
<affinity-admin-group> <!-- operation="delete"-->
<admin-group-name>ADMIN-GROUP-NAME</admin-group-name>
<config>
<admin-group-name>ADMIN-GROUP-NAME</admin-group-name>
<affinity-type>exclude-any</affinity-type>
</config>
</affinity-admin-group>
</affinity-admin-groups>
</constraints>
</dynamic>
</candidate-path>
</candidate-paths>
</on-demand-nexthop>
</on-demand-nexthops>
</traffic-engineering>
</segment-routing>
Command Syntax
affinity (exclude-any|include-any|include-all) ADMIN-GROUP-NAME
Configure metric type
Metric type can be IGP or TE
This command is supported when following feature are enabled Segment-Routing Traffic Engineering using SR-Policy Feature
Attribute Name: metric-type
Attribute Type: enum (igp|te)
Netconf edit-config payload
<segment-routing xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-segment-routing">
<traffic-engineering>
<on-demand-nexthops>
<on-demand-nexthop>
<color>1</color>
<config>
<color>1</color>
</config>
<candidate-paths>
<candidate-path>
<originator>WORD</originator>
<config>
<originator>WORD</originator>
<protocol-origin>local</protocol-origin>
<discriminator>1</discriminator>
</config>
<protocol-origin>pcep</protocol-origin>
<discriminator>1</discriminator>
<dynamic>
<constraints>
<bounds>
<bound> <!-- operation="delete"-->
<metric-type>igp</metric-type>
<config>
<metric-type>igp</metric-type>
</config>
</bound>
</bounds>
</constraints>
</dynamic>
</candidate-path>
</candidate-paths>
</on-demand-nexthop>
</on-demand-nexthops>
</traffic-engineering>
</segment-routing>
Command Syntax
metric-type (igp|te)
Configure bound
Path is invalid if its metric exceeds this value, If no value is specified
This command is supported when following feature are enabled Segment-Routing Traffic Engineering using SR-Policy Feature
Attribute Name: bound
Attribute Type: uint32
Attribute Range: 1-4294967295
Netconf edit-config payload
<segment-routing xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-segment-routing">
<traffic-engineering>
<on-demand-nexthops>
<on-demand-nexthop>
<color>1</color>
<config>
<color>1</color>
</config>
<candidate-paths>
<candidate-path>
<originator>WORD</originator>
<config>
<originator>WORD</originator>
<protocol-origin>local</protocol-origin>
<discriminator>1</discriminator>
</config>
<protocol-origin>pcep</protocol-origin>
<discriminator>1</discriminator>
<dynamic>
<constraints>
<bounds>
<bound>
<metric-type>igp</metric-type>
<config>
<metric-type>igp</metric-type>
</config>
<bound>1</bound> <!-- operation="delete"-->
</bound>
</bounds>
</constraints>
</dynamic>
</candidate-path>
</candidate-paths>
</on-demand-nexthop>
</on-demand-nexthops>
</traffic-engineering>
</segment-routing>
Command Syntax
metric-type (igp|te) bound <1-4294967295>
Configure address
Hop address which needs toincluded in the LSP
Attribute Name: address
Attribute Type: inet:ip-address
Attribute Name: type
Attribute Type: enum (loose|strict)
Netconf edit-config payload
<segment-routing xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-segment-routing">
<traffic-engineering>
<on-demand-nexthops>
<on-demand-nexthop>
<color>1</color>
<config>
<color>1</color>
</config>
<candidate-paths>
<candidate-path>
<originator>WORD</originator>
<config>
<originator>WORD</originator>
<protocol-origin>local</protocol-origin>
<discriminator>1</discriminator>
</config>
<protocol-origin>local</protocol-origin>
<discriminator>1</discriminator>
<dynamic>
<constraints>
<ip>
<include-hops>
<include-hop> <!-- operation="delete"-->
<address>A.B.C.D/XXXX::YYYY</address>
<config>
<address>A.B.C.D/XXXX::YYYY</address>
<type>loose</type>
</config>
</include-hop>
</include-hops>
</ip>
</constraints>
</dynamic>
</candidate-path>
</candidate-paths>
</on-demand-nexthop>
</on-demand-nexthops>
</traffic-engineering>
</segment-routing>
Command Syntax
A.B.C.D/XXXX::YYYY (loose|strict|)
Last modified date: 08/22/2023