Show answerHide answer
Correct answer: B, C Route preference is considered after evaluating the longest prefix match.Lower route preference values indicate higher priority.
Explanation
Explanation:Route preference (also called administrative distance) in Junos OS is a numeric value where lower values indicate higher priority. It is used to select the active route when multiple protocols provide routes to the same destination. Preference is evaluated before the longest prefix match.
Correct Option:
B: Route preference is considered after evaluating the longest prefix match.
This statement requires careful interpretation. In Junos route selection, the longest prefix match is evaluated first to find candidate routes. Among those with the same prefix length, the lowest route preference (highest priority) determines the active route. So preference is considered after prefix length is matched.
C: Lower route preference values indicate higher priority.
This is the core rule of route preference in Junos. Direct routes have preference 0, OSPF internal 10, Static 5, BGP 170 (or 20 for local preference). Lower number = more trusted = higher priority.
Incorrect Option:
A: Higher route preference values indicate higher priority.
This is the opposite of how Junos works. Higher preference values indicate lower priority (less trusted). For example, BGP (170) is less preferred than OSPF (10) unless overridden.
D: Route preference determines the forwarding table size.
The forwarding table size is determined by the number of active routes and hardware capacity, not by route preference values. Preference only affects which route becomes active but does not change the table size.
Reference:
Juniper TechLibrary – "Routing Policy, Route Preference, and Administrative Distance": Junos selects the route with the lowest preference value among routes to the same destination with the same prefix length. Preference is evaluated after longest prefix match.


