How to check route preference

How to check route preference

13110
Created On 07/30/21 20:46 PM - Last Modified 07/30/21 20:46 PM


Objective


How to check route preference

Procedure


Route Preference (Longest match then AD then Metric)
Longest Prefix Length - The longest matching route is preferred. 
Administrative Distance -  Multiple routes to same destination with same longest prefix length route learned by the protocol with the lowest AD (Administrator Distance) will take precedence.
Metric -  Multiple routes learned by the same protocol with same longest prefix length, route with the lowest metric will take precedence

Below command can be used to check which route destination is preferring
 
> test routing fib-lookup virtual-router default ip < Destination IP Address >

 


Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA14u000000oMNgCAM&lang=en_US%E2%80%A9&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail

Choose Language