preference
Use this command to set a preference value for an ODN candidate path.
Use the no form of this command to remove a preference value from an ODN candidate path.
Command Syntax
preference <1-65535>
no preference
Parameters
<1-65535>
Preference for candidate path.
Default
By default, preference value is 100 for a candidate path.
Command Mode
ODN Candidate path mode
Applicability
This command was introduced in OcNOS version 6.2.0.
Example
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)#preference 111
OcNOS(config-sr-odn-cp)#
Last modified date: 10/20/2023