JN0-106 Operational Monitoring and Maintenance Practice Question
An administrator wants to verify that BGP neighbors are established. Which command provides a summary of all BGP peer sessions?
⚠ Common exam trap
The trap here is that candidates familiar with Cisco IOS might expect 'show ip bgp summary' but mistakenly choose 'show bgp neighbor' because they confuse the detailed neighbor output with a summary view, or they overlook that Junos uses 'show bgp summary' for the aggregated peer list.
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 bgp summary
The 'show bgp summary' command is correct because it provides a concise, one-line-per-peer overview of all BGP sessions, including the peer IP address, AS number, state (e.g., Established), and counters for prefixes received. This is the standard command in Junos for quickly verifying that all BGP neighbors are in the Established state without the detailed per-neighbor output.
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 bgp neighbor
Why it's wrong here
The 'show bgp neighbor' command displays per-peer configuration and operational state in exhaustive detail, including timers, message counters, capabilities, and the current BGP state for each individual session. Without specifying a peer address, it produces lengthy output for every neighbor, making it less convenient for a quick administrative check of whether all peers are Established. While it does show the session state, it is not a concise summary and would be overkill for simply verifying that neighbors are up.
- ✓
show bgp summary
Why this is correct
The 'show bgp summary' command is the standard tool for verifying BGP peer status at a glance. Its tabular output lists each neighbor's address, AS number, session state (e.g., Active, Idle, or Established), and uptime, along with the number of prefixes received and advertised. Because it condenses all peers into a single screen, an administrator can immediately confirm that each peer is in the Established state, which is exactly what this task requires.
- ✗
show interfaces terse
Why it's wrong here
The 'show interfaces terse' command lists physical and logical interfaces along with their administrative and operational status (up or down), but it contains no BGP-specific information whatsoever. BGP sessions run over TCP and do not appear directly in interface output; a session can be Established even if some interfaces are routed differently, or a session may be down due to configuration issues while the interface appears up. Therefore, it cannot verify BGP neighbor state.
- ✗
show route protocol bgp
Why it's wrong here
The 'show route protocol bgp' command displays the BGP routes that have been installed in the inet.0 routing table, showing prefixes, next hops, and path attributes. It does not show peer session states such as Established, and a peer could be up without contributing any routes due to route filtering or policy. Conversely, stale routes can persist in the table even after a session flaps, making this command unsuitable for confirming current BGP neighbor status.
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.