Exam JN0-104 All QuestionsBrowse all questions from this exam
Question 26

A router contains both a static route and an OSPF route for the 172.18.100.0/24 prefix in its routing table. The router is configured to use the factory-default Junos

OS routing preference values. In this scenario, which statement is correct?

    Correct Answer: C

    In Junos OS, the routing protocol with the lower preference value is selected as the active route. The default preference value for static routes is 5, and for OSPF routes, it is 10. Since 5 is lower than 10, the static route will be chosen as the active route.

Discussion
jose010696Option: C

Correct. Static has preference value 5 and OSPF 10. The value with the lowest preference will get chosen.

PatEvraOption: C

correct answer. The value with the lowest preference will get chosen. and Static has default preferences value 5 and OSPF 10

bb58b38

https://www.juniper.net/documentation/us/en/software/junos/routing-overview/bgp/topics/concept/routing-protocols-default-route-preference-values.html

CradicalOption: C

In Junos OS, the default preference value for static routes is higher (higher preference is considered less favorable) than the default preference value for OSPF routes. Specifically, the default preference value for static routes is 5, while the default preference value for OSPF routes is 10. The default preference value for static routes in Junos OS is indeed 5, which is lower than the default preference value for OSPF routes, which is 10. Therefore, the correct statement is: C. The static route will be active because of a lower default preference value.

aisa007Option: C

Correct. Static has preference value 5 and OSPF 10. The value with the lowest preference will get chosen.