JNCIS-SP: Juniper Networks Certified Specialist – Service Provider Routing (2021) — Question 16
You are configuring a default static route using the default preference value. You want to ensure that any static route that you configure in the future will be less preferred than the OSPF routes that are configured on the network.
Which command will accomplish this task?
Answer options
- A. set protocols ospf preference 6
- B. set routing-options static route <IP address> preference 9
- C. set routing-options static defaults preference 20
- D. set routing-options static defaults passive
Correct answer: C
Explanation
The correct answer is C because setting the static defaults preference to 20 ensures that these static routes are less preferred than OSPF routes, which typically have a lower preference value. Options A and B do not affect the static route preference, while option D pertains to making routes passive, which is unrelated to preference settings.