Static Route Failover Using Qualified Next-Hop | JNCIA-Junos
This JNCIA-JUNOS practice question tests your understanding of routing fundamentals. The scenario asks you to isolate a root cause — eliminate options that address a different problem before choosing. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.
Exhibit
user@router> show configuration routing-options static | display set
set routing-options static route 10.1.1.0/24 qualified-next-hop 192.168.1.1 preference 10
set routing-options static route 10.1.1.0/24 qualified-next-hop 192.168.2.1 preference 20
Refer to the exhibit. If the primary next-hop (192.168.1.1) becomes unreachable, what will happen to the route?
Clue words in this question
Noticing these words before you look at the options changes how you read each choice.
Clue: "primary"
Why it matters: Asks for the main purpose or function, not a secondary benefit. Eliminate answers that describe side-effects or partial functions.
Exhibit
user@router> show configuration routing-options static | display set
set routing-options static route 10.1.1.0/24 qualified-next-hop 192.168.1.1 preference 10
set routing-options static route 10.1.1.0/24 qualified-next-hop 192.168.2.1 preference 20
A
The route is removed from the routing table.
Why wrong: The route is not removed; the secondary next-hop becomes active.
B
The route remains but with the primary next-hop marked as unreachable.
Why wrong: Junos removes the unreachable next-hop and uses the secondary.
C
The secondary next-hop (192.168.2.1) will be used.
When the primary is unreachable, the secondary next-hop with higher preference becomes active.
D
The route becomes hidden.
Why wrong: The route remains active with the secondary next-hop.
The answer is that the secondary next-hop (192.168.2.1) will be used as the active route. This happens because the qualified-next-hop configuration assigns different preference values to each next-hop, with the lower preference (10) designating the primary path and the higher preference (20) serving as the failover. When the primary next-hop becomes unreachable, Junos automatically removes it from the routing table, and the route then selects the next-best qualified next-hop based on its preference value, making 192.168.2.1 the active next-hop. On the JNCIA-Junos exam, this concept tests your understanding of static route failover mechanics and how preference values control path selection without relying on dynamic protocols. A common trap is assuming the route will simply be removed or that both next-hops must fail; instead, Junos maintains route continuity by promoting the backup. Remember the memory tip: "Low preference wins, high preference waits" — the lowest preference is always the primary, and higher preferences are standby until the primary drops.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
The secondary next-hop (192.168.2.1) will be used.
In Junos, when a route has multiple next-hops configured (e.g., primary and secondary), the secondary next-hop serves as a backup. If the primary next-hop (192.168.1.1) becomes unreachable, Junos automatically fails over to the secondary next-hop (192.168.2.1) without removing the route from the routing table. This behavior is controlled by the 'next-hop' configuration under a static route or via routing protocol policies, ensuring continuous reachability.
Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
✗
The route is removed from the routing table.
Why it's wrong here
The route is not removed; the secondary next-hop becomes active.
✗
The route remains but with the primary next-hop marked as unreachable.
Why it's wrong here
Junos removes the unreachable next-hop and uses the secondary.
✓
The secondary next-hop (192.168.2.1) will be used.
Why this is correct
When the primary is unreachable, the secondary next-hop with higher preference becomes active.
Clue confirmation
The clue word "primary" in the question point toward this answer.
Related concept
Read the scenario before looking for a memorised answer.
✗
The route becomes hidden.
Why it's wrong here
The route remains active with the secondary next-hop.
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is that candidates often assume a route is removed or hidden when a next-hop fails, but Junos maintains the route and uses the backup next-hop, unlike some other vendors that may withdraw the route entirely.
Detailed technical explanation
How to think about this question
In Junos, static routes with multiple next-hops are installed in the routing table with a 'preference' value (default 5 for static routes) and are evaluated for reachability via the 'next-hop' state. When the primary next-hop fails (e.g., due to ARP failure or interface down), Junos performs a next-hop resolution check and automatically activates the secondary next-hop without requiring a routing table rebuild. This failover is immediate and does not involve route withdrawal, making it efficient for scenarios like dual-homed connections to ISPs where redundancy is critical.
KKey Concepts to Remember
Read the scenario before looking for a memorised answer.
Find the constraint that changes the correct option.
Eliminate answers that are true in general but not in this case.
TExam Day Tips
→Watch for words such as best, first, most likely and least administrative effort.
→Review why wrong options are wrong, not only why the correct option is correct.
Key takeaway
Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Real-world example
How this comes up in practice
A practitioner preparing for the JNCIA-JUNOS exam encounters this exact type of scenario on the job. The correct answer here is not the most general option — it is the best answer for the specific constraint described. Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option. Real exam questions reward reading the full scenario before eliminating options, because the constraint defines which answer fits.
Quick reference
Routing Protocol Comparison
Protocol
Metric
Max Hops
Algorithm
Type
RIP v2
Hop count
15
Bellman-Ford
Distance vector
OSPF
Cost (bandwidth)
Unlimited
Dijkstra (SPF)
Link state
EIGRP
Composite metric
Unlimited
DUAL
Hybrid
IS-IS
Cost
Unlimited
Dijkstra
Link state
BGP
Policy / attributes
Unlimited
Path vector
Path vector
RIP's 15-hop limit makes it unsuitable for large networks. OSPF and EIGRP dominate modern enterprise deployments.
What to study next
Got this wrong? Here's your next step.
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
Routing Fundamentals — This question tests Routing Fundamentals — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: The secondary next-hop (192.168.2.1) will be used. — In Junos, when a route has multiple next-hops configured (e.g., primary and secondary), the secondary next-hop serves as a backup. If the primary next-hop (192.168.1.1) becomes unreachable, Junos automatically fails over to the secondary next-hop (192.168.2.1) without removing the route from the routing table. This behavior is controlled by the 'next-hop' configuration under a static route or via routing protocol policies, ensuring continuous reachability.
What should I do if I get this JNCIA-JUNOS question wrong?
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
Are there clue words in this question I should notice?
Yes — watch for: "primary". Asks for the main purpose or function, not a secondary benefit. Eliminate answers that describe side-effects or partial functions.
What is the key concept behind this question?
Read the scenario before looking for a memorised answer.
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
This JNCIA-JUNOS practice question is part of Courseiva's free Juniper Networks certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the JNCIA-JUNOS exam.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.