JN0-106 Routing Fundamentals Practice Question
Which Junos command displays the route to a specific IP address, including the active route and any backup routes?
⚠ Common exam trap
The trap here is that candidates familiar with Cisco IOS might expect 'show ip route <ip>' to show only the best route, but in Junos, the same command reveals all routes, including backups, which can lead to confusion if one assumes only the active route is displayed.
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
✓
show route 192.168.1.1
The 'show route 192.168.1.1' command in Junos displays all routes in the routing table that match the specified destination, including the active route (marked with '>') and any backup routes (marked with a space). This command provides a comprehensive view of the forwarding table entries for that prefix, which is essential for understanding both primary and failover paths.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
show route 192.168.1.1
Why this is correct
The `show route 192.168.1.1` command is the precise Junos CLI command to query the routing table for a specific destination IP address. It displays all routes in the inet.0 table (and other tables if applicable) that match that prefix, including the next-hop, protocol, and preference. This is the standard way to verify reachability and determine which path will be used for forwarding to that address.
- ✗
show route protocol
Why it's wrong here
`show route protocol` is incomplete because it requires a protocol name, such as `show route protocol ospf`, to function correctly. Even when a protocol is supplied, it lists every route learned via that protocol, not a route to a specific IP address. This command serves protocol-level troubleshooting, but it cannot directly answer a question about a particular host or subnet.
- ✗
show route active
Why it's wrong here
`show route active` displays only the active routes, meaning those currently installed in the forwarding table, but it does not accept a destination address as part of the command. Instead, it lists all active prefixes in the routing table, which can be extensive, and provides no way to isolate a single IP. The `active` keyword is a state filter, not a destination filter, so it cannot show the route to 192.168.1.1.
- ✗
show route table
Why it's wrong here
`show route table` is meant to display the contents of a specified routing table, like `show route table inet.0`, and without a prefix argument it dumps every route in that table. The command accepts a table name, not a destination IP, so it will not narrow down to a specific address. To view the route for 192.168.1.1, you must use the `show route` command followed directly by that IP address.
Go deeper
Related to this question
About these practice questions
One of 326 original JN0-106 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This JN0-106 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 JN0-106 exam.