Prefix List Purpose in FortiGate Routing
What is the purpose of a prefix list in FortiGate routing?
Quick Answer
The answer is to match routes based on their network prefix and subnet mask. A prefix list in FortiGate routing works by evaluating the exact network address and its prefix length, allowing you to filter or manipulate routing information with greater precision than an access list. This is critical because, unlike ACLs that match on source/destination IPs, a prefix list specifically targets the route itself, making it indispensable for controlling route advertisement and acceptance in BGP or redistribution policies. On the Fortinet NSE 7 Advanced Security NSE7 exam, this concept often appears in questions about route maps or neighbor statements, where a common trap is confusing prefix lists with IP prefix-lists or standard ACLs—remember that prefix lists care about the exact prefix and length, not just the network. A useful memory tip is to think of the prefix list as a "route tailor" that cuts only the exact cloth of the network and its mask, unlike an ACL which is a broader "packet filter."
⚠ Common exam trap
A common mix-up: candidates confuse prefix lists with access lists or route maps, assuming they can be used for general packet filtering or interface configuration, but prefix lists are strictly for route prefix matching in routing policy contexts.
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
✓
To match routes based on their network prefix and subnet mask.
A prefix list in FortiGate is used to match routes based on their network prefix and subnet mask (prefix length). It is commonly applied in route maps or BGP configurations to filter or manipulate routing information, such as in redistribution or neighbor policy statements. Unlike access lists, prefix lists match the exact prefix and length, providing more granular control over route advertisement and acceptance.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
To match routes based on their network prefix and subnet mask.
Why this is correct
Prefix lists are used to match specific routes for filtering or redistribution based on prefix length.
- ✗
To configure NAT rules.
Why it's wrong here
NAT rules are configured in firewall policies or central NAT.
- ✗
To define SD-WAN members.
Why it's wrong here
SD-WAN members are interfaces, not prefix lists.
- ✗
To assign IP addresses to interfaces.
Why it's wrong here
IP addresses are assigned directly to interfaces, not via prefix lists.
Visual reference
Go deeper
Related to this question
About these practice questions
This NSE7 question is part of Courseiva's 940-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
Same concept, more angles
1 more way this is tested on NSE7
These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.
Variation 1. What is the purpose of using a prefix list in route redistribution?
easy- ✓ A.To match routes based on IP prefix and prefix length
- B.To define a list of allowed source IPs for management access
- C.To specify the next-hop for a set of routes
- D.To set BGP community values on matched prefixes
Why A: A prefix list is used in route redistribution to match routes based on their IP prefix and prefix length (e.g., 192.168.0.0/16). This allows granular control over which routes are redistributed from one routing protocol to another, such as from OSPF to BGP, by filtering based on the network address and subnet mask.
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.