Courseiva
Advanced Networking and SD-WANmediumMultiple ChoiceObjective-mapped

NSE7 Advanced Networking and SD-WAN Practice Question

A FortiGate is configured with policy-based routing to force traffic from subnet 10.0.1.0/24 to go through a WAN interface. The administrator notices that traffic from 10.0.1.0/24 is still using the default route. Which debug command can confirm if the policy-based routing is being applied?

⚠ Common exam trap

Test-takers frequently confuse `diagnose debug routing policy` (which debugs route-map-based policy routing, not PBR) with the correct flow-based PBR debug command, or they mistakenly think `get router info policy-based-route` (which only shows configuration) can confirm real-time application of PBR.

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 debug flow policy-based-route

The `diagnose debug flow policy-based-route` command enables flow-based debugging specifically for policy-based routing (PBR) decisions. This command shows real-time details on how the FortiGate processes packets against PBR rules, including which policy matches and which egress interface is selected, allowing the administrator to confirm whether PBR is being applied to traffic from 10.0.1.0/24.

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 debug routing ip-probe 10.0.1.1 8.8.8.8

    Why it's wrong here

    This is for SD-WAN probes, not policy routing.

  • diagnose debug flow policy-based-route

    Why this is correct

    This command shows details of policy-based routing matches and actions.

  • diagnose debug enable && diagnose debug router policy

    Why it's wrong here

    There is no 'debug router policy' command; the correct command is 'diagnose debug flow policy-based-route'.

  • get router info policy-based-route

    Why it's wrong here

    This command shows configuration but not real-time matching debug.

Visual reference

192.168.1.0 /24 256 addresses (254 usable) 192.168.1.0 /25 Subnet A 128 addr (126 usable) 192.168.1.128 /25 Subnet B 128 addr (126 usable) Borrowing 1 bit from host portion creates 2 subnets (/25)

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.