JN0-104 Exam QuestionsBrowse all questions from this exam

JN0-104 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?

Show Answer
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

5 comments
Sign in to comment
jose010696Option: C
Oct 16, 2023

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

aisa007Option: C
Nov 1, 2022

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

CradicalOption: C
May 29, 2023

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.

bb58b38
Dec 28, 2023

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

PatEvraOption: C
Apr 28, 2024

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