JN0-106 User Interfaces Practice Question
An administrator is in configuration mode and wants to see only the interfaces configuration block while editing. Which command will display just that section?
⚠ Common exam trap
The trap here is that candidates familiar with Cisco IOS might expect 'show running-config | section interfaces' or 'show run interface' and mistakenly choose 'run show interfaces' (Option D), which in Junos shows operational state, not configuration, or they might think 'show' alone (Option B) is sufficient, not realizing it shows the entire configuration from the current level.
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 interfaces
In Junos configuration mode, the 'show interfaces' command displays only the interfaces configuration block without leaving configuration mode. This is a Junos-specific feature where 'show' commands within configuration mode show the current candidate configuration, not operational state. The command filters the output to show only the 'interfaces' hierarchy, allowing the administrator to review just that section.
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 interfaces
Why this is correct
In configuration mode, show interfaces is the correct command to display the configured interfaces hierarchy. Unlike the operational mode command of the same name, this variant is context-sensitive and outputs only the configuration statements under the interfaces hierarchy, such as interface names, units, and family configuration. It does not show operational status or statistics, but rather the exact configured parameters, which is what an administrator reviewing the configuration needs.
- ✗
show
Why it's wrong here
The bare show command in configuration mode, when used without a hierarchy argument, prints the complete configuration for all protocol levels and system settings — not just interfaces. This would force the administrator to search through a large, often unwieldy output to locate the interface-related details, and it bypasses the focused view provided by targeting the interface hierarchy. While it contains the information, it does not satisfy the specific, scoped request to see the interfaces configuration.
- ✗
display set | match interfaces
Why it's wrong here
This option misunderstands Junos CLI syntax: display set is not a configuration mode command but a pipe filter suffix (for example, show configuration | display set) that re-formats output into set commands, and match interfaces is a regular expression filter applied to that output. In configuration mode, typing this exactly would be interpreted as a pipe filter command applied to nothing, producing an error. Additionally, even if correctly used as show configuration | display set | match interfaces, it would match any line containing the keyword interfaces but is not a direct way to view the configuration block within the editor.
- ✗
run show interfaces
Why it's wrong here
The run command in configuration mode temporarily drops to operational mode to execute an operational command, and show interfaces in operational mode displays interface status, statistics, and link state — not the configuration. This is a common point of confusion because the command name is identical, but the context changes its interpretation. The administrator would get real-time operational data such as MTU, speed, and up/down flags, which is irrelevant to viewing the configured interface settings.
Go deeper
Related to this question
About these practice questions
This JN0-106 question is part of Courseiva's 326-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. 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.