Route preference is a value assigned to routing information sources. The more preferred a routing source is, the lower the route preference value is.
This is the same thing as ‘Administrative Distance’, although each vendor uses different values.
If a route is learned from two sources (for example, from OSPF and from a static route), then the route with the lowest route preference will be active.
A static route can be configured with a qualified next hop. This is where a non-standard route preference is assigned.
This is like a floating static route; Where a static route is configured, but not active unless there’s some sort of failure.
|set routing-options static route NETWORK qualified-next-hop IP preference VALUE
|Configure a qualified next hop
|set routing-options static defaults metric
|Set the default metric for a static route
|set routing-options static defaults preference
|Set the default route preference for a static route
Understanding Route Preference Values (Administrative Distance)
Configuring Static Route Preferences and Qualified Next Hops to Control Static Route Selection
Qualified to Hop