Courseiva
Troubleshooting and DiagnosticsmediumMultiple SelectObjective-mapped

NSE7 Troubleshooting and Diagnostics Practice Question

An administrator is troubleshooting a BGP session that is not establishing between two FortiGates. The administrator has verified that the neighbor IP is reachable. Which TWO commands should be used to further diagnose the issue? (Choose two.)

⚠ Common exam trap

It's easy for candidates to confuse general network troubleshooting commands (like session filtering or flow debugging) with BGP-specific diagnostic commands, failing to recognize that BGP session establishment requires examining the BGP state machine and debug logs, not just TCP connectivity or routing table contents.

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 neighbor <IP>

'get router info bgp neighbor <IP>' displays detailed BGP session state information, including the current state (e.g., Idle, Connect, Active, OpenSent, OpenConfirm, Established), hold timer, keepalive interval, and any error codes or notifications. This command directly reveals why the session is not establishing, such as a mismatch in BGP capabilities, AS numbers, or authentication.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • get router info bgp neighbor <IP>

    Why this is correct

    This command shows BGP session state and counters, useful for troubleshooting.

  • diagnose debug flow filter daddr <IP>

    Why it's wrong here

    This is for flow debugging, not BGP session establishment.

  • get router info routing-table bgp

    Why it's wrong here

    This shows BGP routes, not session establishment issues.

  • diagnose sys session filter dport 179

    Why it's wrong here

    This shows sessions to port 179 but does not provide detailed BGP negotiation info.

  • diagnose ip router bgp all enable

    Why this is correct

    This enables BGP debug, showing real-time negotiation messages.

About these practice questions

Courseiva writes every NSE7 question from scratch — 940 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

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.