NSE7 Troubleshooting and Diagnostics Practice Question
A BGP route from an ISP is not appearing in the FortiGate's routing table. The BGP session is established and 'show ip bgp' shows the route as valid but not best. Which command should the admin use to investigate why the route is not selected as best?
⚠ Common exam trap
Many exam-takers confuse 'diagnose ip router bgp routes' with 'get router info bgp summary', assuming the summary command provides route details, when in fact it only shows neighbor state and not the BGP table's best-path selection reasons.
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
✓
diagnose ip router bgp routes
'diagnose ip router bgp routes' is the FortiGate command that displays detailed BGP route information, including the reason a route is not selected as best (e.g., higher local preference, longer AS path, or lower MED). Since the BGP session is up and the route is valid but not best, this command reveals the tie-breaking criteria that caused the route to lose the best-path selection process.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
execute router bgp show
Why it's wrong here
This is not a valid FortiGate command.
- ✓
diagnose ip router bgp routes
Why this is correct
This command shows BGP route details and best path selection reasons.
- ✗
get router info bgp summary
Why it's wrong here
This shows BGP session status, not route selection.
- ✗
diagnose ip router bgp network
Why it's wrong here
This command is not valid.
Go deeper
Related to this question
About these practice questions
One of 940 original NSE7 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 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.