preference
Syntax
(preference | preference2 | color | color2)preference<typetype>;Hierarchy Level
[edit routing-options (aggregate|generate|static) (defaults | route)],[edit routing-options ribrouting-table-name(aggregate|generate|static) (defaults | route)],[edit routing-instancesrouting-instance-namerouting-options (aggregate|generate|static)],
(defaults | route)[edit routing-instancesrouting-instance-namerouting-options ribrouting-table-name
(aggregate|generate|static) (defaults | route)]Description
Preference value for a static, aggregated, or generated route. You also can specify a secondary preference value (
preference2) as well as colors, which are even finer-grained preference values (colorandcolor2).Options
preference—Preference value. A lower number indicates a more preferred route.
Range: 1 through 255
Default: 5 (for static routes), 130 (for aggregate and generated routes)
type—(Optional) Type of route.
Range: 1 through 16Usage Guidelines
See Configure Static Routes, Configure Aggregate Routes, and Configure Generated Routes.
Required Privilege Level
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.See Also