NSE7 Advanced Networking and SD-WAN Practice Question
A FortiGate is running OSPF with multiple areas. The administrator needs to redistribute a static route into OSPF. Which command will correctly configure redistribution of static routes into OSPF process 10?
⚠ Common exam trap
Watch out — candidates often confuse the FortiOS syntax with Cisco IOS, where redistribution is configured under `router ospf` with `redistribute static subnets`, leading them to choose Option A which mimics a Cisco-style configuration block, but FortiOS uses a flat `set redistribute static enable` command instead.
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 set redistribute static enable end
In FortiOS, the command to redistribute static routes into OSPF is configured directly under the OSPF process using `set redistribute static enable` within `config router ospf`. This enables the redistribution of static routes into OSPF process 10, as specified in the question.
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 next end end
Why it's wrong here
This syntax is incorrect; OSPF redistribution is configured directly under the OSPF process, not under a redistribution sub-table.
- ✗
config router policy set redistribute static end
Why it's wrong here
Route redistribution is not configured under router policy.
- ✗
config router static set redistribute ospf end
Why it's wrong here
This is incorrect; static routes are not configured to redistribute into OSPF from the static route configuration.
- ✓
config router ospf set redistribute static enable end
Why this is correct
This is the correct syntax to enable redistribution of static routes into OSPF.
Visual reference
Go deeper
Related to this question
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 →
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.