JN0-102 · Question #342
What is correct regarding the configuration shown below? static route 0.0.0.0/0 qualified-next-hop 172.30.25.1 preference 7 next-hop 172.30.25.5
The correct answer is D. The next-hop 172.30.25.5 is selected because it is the lowest protocol preference. In a static route configuration, a qualified-next-hop allows specific properties like a custom preference to be assigned, while a regular next-hop without an explicit preference uses the default static route preference. The next-hop with the numerically lowest preference value…
Question
What is correct regarding the configuration shown below? static route 0.0.0.0/0 qualified-next-hop 172.30.25.1 preference 7 next-hop 172.30.25.5
Options
- AThe next-hop 172.30.25.1 is selected because the address has the lowest value.
- BThe next-hop 172.30.25.1 is selected because it is listed first.
- CThe next-hop 172.30.25.1 is selected because it is the lowest protocol preference.
- DThe next-hop 172.30.25.5 is selected because it is the lowest protocol preference.
How the community answered
(58 responses)- A16% (9)
- B7% (4)
- C5% (3)
- D72% (42)
Why each option
In a static route configuration, a `qualified-next-hop` allows specific properties like a custom preference to be assigned, while a regular `next-hop` without an explicit preference uses the default static route preference. The next-hop with the numerically lowest preference value will be selected for forwarding.
The address value itself does not determine selection; routing protocols and preferences are the deciding factors.
The order in which next-hops are listed does not determine preference when explicit or default preference values are present.
The next-hop 172.30.25.1 has a preference of 7, which is higher (less preferred) than the default preference of 5 for 172.30.25.5.
The `next-hop 172.30.25.5` implicitly uses the default protocol preference for static routes (5), while `qualified-next-hop 172.30.25.1` has an explicitly configured preference of 7; thus, `172.30.25.5` is selected because its preference (5) is numerically lower than 7.
Concept tested: Static route next-hop preference selection
Source: https://www.juniper.net/documentation/us/en/software/junos/routing-basics/topics/topic-map/static-routes.html#id-static-route-next-hops
Topics
Community Discussion
No community discussion yet for this question.