JN0-102 · Question #224
Which two statements are correct regarding default protocol preference values? (Choose two.)
The correct answer is B. Both direct and local routes have the same preference value. C. OSPF's preference value is lower than BGP.. Both direct and local routes share the same default preference value of 0, and OSPF has a lower preference value than BGP, making OSPF routes preferred over BGP routes for the same destination.
Question
Which two statements are correct regarding default protocol preference values? (Choose two.)
Options
- AOSPF internal routes have a lower preference than static routes.
- BBoth direct and local routes have the same preference value.
- COSPF's preference value is lower than BGP.
- DOSPF has a single preference value for both internal and external routes.
How the community answered
(18 responses)- A6% (1)
- B89% (16)
- D6% (1)
Why each option
Both direct and local routes share the same default preference value of 0, and OSPF has a lower preference value than BGP, making OSPF routes preferred over BGP routes for the same destination.
OSPF internal routes have a default preference of 10, while static routes have a default preference of 5; since 5 is lower than 10, static routes are preferred over OSPF internal routes, making this statement incorrect.
In Juniper devices, both direct routes (for networks directly connected to the router's interfaces) and local routes (for the router's own interface addresses) have a default preference value of 0, indicating they are the most preferred route sources.
OSPF internal routes have a default preference of 10, and OSPF external routes (Type 1/2) have a default preference of 150. In contrast, BGP routes (both IBGP and EBGP) have a default preference of 170. Since a lower value signifies higher preference, OSPF's preference is lower than BGP's.
OSPF typically has different default preference values for internal routes (10) and external routes (150 for Type 1/2), meaning it does not have a single preference value for both.
Concept tested: Default route preference values
Source: https://www.juniper.net/documentation/us/en/software/junos/routing-overview/topics/topic-map/routing-protocols-preference-values.html
Topics
Community Discussion
No community discussion yet for this question.