
Which two parameters must an administrator configure in the config neighbor range for spokes shown in the exhibit? (Choose two.)
Show answerHide answer
Correct answer: B, D set neighbor-group advpnset prefix 172.16.1.0 255.255.255.0
Explanation
Explanation:In an Auto-Discovery VPN (ADVPN) setup using BGP, the config neighbor-range command is used on the hub FortiGate to automatically accept and establish BGP sessions with spokes without needing to statically define each one. The configuration defines a range of IP addresses from which neighbors can connect.
Let's analyze the required parameters based on the topology:
D. set prefix 172.16.1.0 255.255.255.0
This is correct. The prefix command defines the IP address range from which the hub will accept dynamic BGP peerings. The exhibit shows the spokes have IP addresses 172.16.1.2/32 and 172.16.1.3/32. These addresses fall within the 172.16.1.0/24 subnet. Configuring this prefix tells the hub to accept BGP connections from any spoke whose IP is within this network.
B. set neighbor-group advpn
This is correct. The neighbor-group command applies a pre-defined set of BGP settings (like remote-as 65100 and any associated route-maps) to all neighbors that fall within the specified prefix range. The exhibit shows a neighbor-group named "advpn" has already been created. Associating this group with the neighbor-range ensures all dynamically discovered spokes inherit the correct BGP configuration.
Why the other options are incorrect:
A. set max-neighbor-num 2
Incorrect. While this command exists and can limit the number of dynamic peers, it is not a required parameter. The hub will function correctly without it, learning as many spokes as connect from the defined prefix. It is an optional administrative control, not a mandatory configuration for the setup to work.
C. set route-reflector-client enable
Incorrect. This command is typically applied within the config neighbor-group "advpn" section, not under the config neighbor-range. The "advpn" neighbor-group is where you would configure set route-reflector-client enable to allow the hub to reflect routes between spokes. Placing it directly in the neighbor-range stanza would be syntactically incorrect.
Reference:
Fortinet Documentation: FortiOS Handbook - BGP, specifically the section on "Configuring dynamic BGP neighbors (neighbor range)". The documentation confirms that the prefix is required to define the IP range, and the neighbor-group is used to assign common parameters to these dynamic peers.



