Route Preference

Route Preference

Quiz Page

Test your understanding of key concepts with a short quiz. A quick way to check what you know before moving on.

Lab Page

Hands-on practice exercises to reinforce what you’ve learned. Work through real scenarios in a guided environment.

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

CommandModeDescription
set routing-options static route NETWORK qualified-next-hop IP preference VALUEConfigurationConfigure a qualified next hop
set routing-options static defaults metricConfigurationSet the default metric for a static route
set routing-options static defaults preferenceConfigurationSet the default route preference for a static route

Additional References

Understanding Route Preference Values (Administrative Distance)

Configuring Static Route Preferences and Qualified Next Hops to Control Static Route Selection

Qualified to Hop

Leave a Reply