The candidate-path preference command configures a candidate path and its preference for an SRv6 TE Policy.
The undo candidate-path preference command deletes the candidate path and its preference configured for an SRv6 TE Policy.
By default, no candidate path is configured for the SRv6 TE Policy.
Usage Scenario
One SRv6 TE Policy may contain multiple candidate paths with the preference attribute. The valid candidate path with the highest preference functions as the primary path of the SRv6 TE Policy.
Candidate paths can be delivered by the controller or statically configured. For the candidate paths of a manually configured SRv6 TE Policy, the preference parameter is mandatory and must be unique.