Courseiva

NSE7 Advanced Networking and SD-WAN Practice Question

A multi-area OSPF network includes a FortiGate as an ABR. The administrator needs to redistribute a static route into OSPF. Which command is required on the FortiGate to achieve this?

⚠ Common exam trap

Candidates often confuse redistribution configuration with route filtering or policy routing, mistakenly thinking a prefix-list (Option B) or policy-based routing (Option C) is needed, or they incorrectly assume static routes have a 'redistribute' knob (Option D) instead of configuring it under the OSPF process.

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

✓

config router ospf config redistribute edit 'static' set status enable end

To redistribute a static route into OSPF on a FortiGate, you must enter the OSPF configuration context, navigate to the 'redistribute' subcommand, select the 'static' route type, and set its status to 'enable'. This is the standard method for enabling route redistribution from one routing protocol (or static routes) into OSPF, as defined in the FortiGate CLI reference.

Answer analysis

Option-by-option breakdown

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

  • ✓

    config router ospf config redistribute edit 'static' set status enable end

    Why this is correct

    The FortiGate redistributes static routes only when explicitly enabled under 'config router ospf' then 'config redistribute'. Editing the 'static' entry and setting status enable activates redistribution, injecting the static route into OSPF as an ASBR or ABR.

  • ✗

    config router prefix-list edit 'static' set action permit end

    Why it's wrong here

    A prefix list only filters or matches prefixes; it does not inject routes into OSPF. It is tempting because redistribution commonly references a prefix list, but that list must be attached to a redistribute statement under config router ospf, which this option omits.

  • ✗

    config router policy set src 0.0.0.0/0 set dst 0.0.0.0/0 end

    Why it's wrong here

    Router policy governs policy-based routing of forwarded traffic, not OSPF redistribution. It is tempting because it manipulates routing decisions, but redistribution requires config router ospf with a redistribute static clause, which this option never invokes.

  • ✗

    config router static set redistribute ospf enable end

    Why it's wrong here

    The static route configuration block defines the route itself; it has no redistribute ospf keyword, so no LSA is generated. It is tempting because it names both static and OSPF, but redistribution is configured under config router ospf, not config router static.

Visual reference

R1 R2 R3 R4 10 100 10 100 OSPF picks R1→R2→R4 (cost 20) over R1→R3→R4 (cost 200)

About these practice questions

Courseiva writes every NSE7 question from scratch — 718 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.