metric-type
Use this command to set a metric-type for optimization objective.
Use the no form of this command to remove a metric type from a dynamic candidate path.
Command Syntax
metric-type (igp|te)(bound |)
no metric-type (igp|te)
Parameters
igp
IGP metric
te
TE metric
bound
Maximum allowed metric for computed path
<1- 4294967295>
Maximum allowed metric value
Default
By default, no metric and bound is configured.
Command Mode
Candidate path constraint mode
Applicability
This command was introduced in OcNOS version 6.2.0.
Example
OcNOS(config)#
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)#dynamic-path pcep
OcNOS(config-sr-odn-cp)#constraints
OcNOS(config-sr-odn-dyn-cp-cons)#metric-type igp
Last modified date: 10/20/2023