Route Preference
Quiz: https://networkdirection.net/labsandquizzes/quizzes/juniper-jncia/route-preference
Lab: https://networkdirection.net/labsandquizzes/labs/jncia-labs/route-preference
Notes
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.
Command Summary
Command | Mode | Description |
set routing-options static route NETWORK qualified-next-hop IP preference VALUE | Configuration | Configure a qualified next hop |
set routing-options static defaults metric | Configuration | Set the default metric for a static route |
set routing-options static defaults preference | Configuration | Set the default route preference for a static route |
Additional References
Understanding Route Preference Values (Administrative Distance)
https://www.juniper.net/documentation/en_US/junos/topics/reference/general/routing-protocols-default-route-preference-values.html
Configuring Static Route Preferences and Qualified Next Hops to Control Static Route Selection
https://www.juniper.net/documentation/en_US/junos/topics/example/routing-protocol-static-security-route-selection-controlling-cli.html
Qualified to Hop