NSE7 Troubleshooting and Diagnostics Practice Question
Which of the following is a valid command to check the status of all BGP neighbors on a FortiGate?
⚠ Common exam trap
The trap here is that candidates familiar with Cisco IOS often default to 'show bgp neighbors' (Option C), but FortiGate uses a different CLI syntax with 'get router info' for operational state queries, and 'diagnose' commands are reserved for low-level debugging, not standard status checks.
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
✓
get router info bgp summary
'get router info bgp summary' is the standard FortiGate CLI command to display the status of all BGP neighbors, including their state, uptime, and prefixes received. This command retrieves the BGP routing table summary from the FortiGate's routing daemon, which is essential for verifying neighbor relationships and troubleshooting BGP peering issues.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
diagnose router bgp summary
Why it's wrong here
The correct syntax is 'get router info bgp summary'.
- ✓
get router info bgp summary
Why this is correct
This is the correct command to display BGP neighbor status.
- ✗
show bgp neighbors
Why it's wrong here
This is a Cisco-style command; FortiGate uses 'get router info'.
- ✗
diagnose ip router bgp all
Why it's wrong here
This shows BGP information but not a concise summary.
Go deeper
Related to this question
About these practice questions
This NSE7 question is part of Courseiva's 940-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 NSE7 practice question is part of Courseiva's free Fortinet 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 NSE7 exam.