JN0-106 Operational Monitoring and Maintenance Practice Question
Which TWO commands can be used to view the current routing table entries for IPv4 unicast routes?
⚠ Common exam trap
Candidates often confuse the routing table (`show route`) with the forwarding table (`show forwarding-table`), or assume a specific protocol filter like `protocol static` shows all routes, when in fact it only shows routes learned via that protocol.
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 table inet.0
`show route table inet.0` explicitly displays the IPv4 unicast routing table (inet.0) in Junos. Option D is correct because `show route` without any filter defaults to showing all routes in the inet.0 table, which is the primary IPv4 unicast 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 route protocol static
Why it's wrong here
The command 'show route protocol static' filters the routing table to display only routes that were learned through the static routing protocol, as identified by the protocol field for each route entry. It omits other IPv4 unicast routes, such as direct, OSPF, or BGP routes, so it is too narrow to show the current routing table in its entirety. While useful for verifying static route installation, it does not fulfill the requirement of viewing all IPv4 unicast routes.
- ✓
show route table inet.0
Why this is correct
The command 'show route table inet.0' explicitly selects the IPv4 unicast routing table (inet.0) for display. In Junos, inet.0 is the default routing table for IPv4 unicast routes, holding both active and inactive routes from all protocols. This command is functionally equivalent to a plain 'show route' but makes the table selection explicit, ensuring the administrator is viewing the complete IPv4 unicast routing table rather than another table or protocol-specific subset.
- ✗
show forwarding-table
Why it's wrong here
The command 'show forwarding-table' displays the forwarding table (FIB), not the routing table (RIB). The forwarding table is derived from the routing table and contains only the routes that are active and selected for actual packet forwarding, along with next-hop and interface information optimized for the forwarding engine. It does not show all routes present in the routing table, such as inactive or backup paths, so it is not a valid way to view the current routing table itself.
- ✓
show route
Why this is correct
The command 'show route' without any modifiers displays the main routing table by default, which for most Junos devices is inet.0 for IPv4 unicast. It shows all IPv4 unicast routes, including both active and inactive entries, across all protocols. This is the standard, quickest way to view the entire IPv4 routing table, making it a correct answer because it directly satisfies the requirement of viewing the current routing table.
- ✗
show route table inet6.0
Why it's wrong here
The command 'show route table inet6.0' explicitly selects the IPv6 unicast routing table, which is used for IPv6 routes only. Since the question asks about the current routing table (implied to be IPv4 unicast, as inet.0 is the default), this command would display a different address-family's routes and would not show IPv4 information. To view IPv4 routes, one must specify inet.0 or use the default 'show route'.
Go deeper
Related to this question
About these practice questions
One of 156 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.