JN0-106 Operational Monitoring and Maintenance Practice Question
Which two commands display the IPv4 unicast routing table? (Choose two.)
⚠ Common exam trap
The trap here is that candidates familiar with Cisco IOS may incorrectly choose 'show ip route' (Option A) or 'show routing' (Option E), not realizing Junos uses the 'show route' command and organizes routing information into named tables like inet.0.
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
Option C, `show route`, is correct because on Junos devices this command displays the complete routing table, which by default is the IPv4 unicast table (inet.0), listing all learned and direct routes. Option D, `show route table inet.0`, is also correct because inet.0 is the specific routing table name for IPv4 unicast routes, so this command explicitly displays exactly that table. Option A, `show ip route`, is not a valid Junos command (it is Cisco IOS syntax), so it does not belong. Option B, `show route protocol ospf`, only filters and displays OSPF-learned routes rather than the entire IPv4 unicast routing table. Option E, `show routing`, is not a valid command and therefore cannot display the routing table.
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 ip route
Why it's wrong here
The command 'show ip route' is Cisco IOS syntax and is not a valid operational command in Junos. Junos uses 'show route' as the base command for displaying routing information, and a network administrator familiar with Cisco will need to adapt to this syntax. In Junos, the IPv4 unicast routing table is displayed with 'show route' or 'show route table inet.0', not 'show ip route'.
- ✗
show route protocol ospf
Why it's wrong here
The command 'show route protocol ospf' displays only the routes that were learned through the OSPF protocol, filtering out direct, static, and other protocol routes. It does not provide a complete view of the IPv4 unicast routing table, as it intentionally narrows the output to a specific protocol. Since the question asks for the entire IPv4 unicast routing table, this command is incorrect for that purpose.
- ✓
show route
Why this is correct
In Junos, the command 'show route' with no arguments displays the contents of the default routing table, inet.0, which is the primary IPv4 unicast routing table. This is the standard way to view active IPv4 routes on a Junos device. Because it shows the entire inet.0 table, it correctly satisfies the requirement to display the IPv4 unicast routing table.
- ✓
show route table inet.0
Why this is correct
The command 'show route table inet.0' explicitly specifies the routing table to display, ensuring that the IPv4 unicast routes in inet.0 are shown. This is an alternative to the shorthand 'show route' and is particularly useful when multiple routing tables are present, such as inet6.0 or VPN routing instances. It directly answers the question by displaying the full IPv4 unicast table.
- ✗
show routing
Why it's wrong here
There is no Junos operational command called 'show routing'; the correct command for displaying routing table information is 'show route'. The Junos CLI is very particular about command naming, and typing 'show routing' will result in a syntax error or an unknown command message. Therefore, this option is not a valid way to display the IPv4 unicast routing table.
Visual reference
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.
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.