Courseiva
Advanced Networking and SD-WANmediumMultiple ChoiceObjective-mapped

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

    Correct method to enable redistribution of static into OSPF.

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

    Why it's wrong here

    Prefix-lists filter routes but do not initiate redistribution.

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

    Why it's wrong here

    Policy-based routing does not redistribute into OSPF.

  • config router static set redistribute ospf enable end

    Why it's wrong here

    Static route configuration does not control OSPF redistribution.

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 — 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.