Courseiva
Advanced Networking and SD-WANmediumMultiple SelectObjective-mapped

How to Integrate FortiSwitch with FortiGate: Step-by-Step

An administrator needs to integrate a FortiSwitch with a FortiGate for LAN edge management. The FortiSwitch will be used to provide access ports for end users. Which THREE configuration steps are required on the FortiGate?

Quick Answer

The correct answer is to authorize the FortiSwitch in the FortiGate's managed switch list. This step is essential because the FortiGate operates as the central controller for managed FortiSwitches, using CAPWAP to discover and manage them; without explicit authorization, the switch remains unmanaged and cannot be configured for LAN edge access. On the Fortinet NSE 7 Advanced Security NSE7 exam, this question tests your understanding of the FortiSwitch integration workflow, where common traps include forgetting to first enable CAPWAP on the FortiGate interface or assuming a port profile is optional—it is required to define access port behavior for end users. A reliable memory tip is the acronym CAP: first, enable CAPWAP on the management interface; second, create a port profile for user access; and third, authorize the switch to complete the integration.

⚠ Common exam trap

It's easy for candidates to confuse the DHCP server requirement with the need for IP address assignment, but the FortiSwitch can use an existing DHCP server or static IP, making option B unnecessary and incorrect.

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

Create a port profile that defines VLAN and security settings for the access ports

A port profile on the FortiGate defines the VLAN membership, allowed VLANs, and security policies (e.g., 802.1X, MAC authentication bypass) that are pushed to the FortiSwitch for its access ports. This is the primary mechanism for centrally managing access port configuration in a FortiSwitch deployment.

Answer analysis

Option-by-option breakdown

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

  • Create a port profile that defines VLAN and security settings for the access ports

    Why this is correct

    Port profiles are used to configure the switch ports from the FortiGate.

  • Configure a DHCP server on the FortiGate to assign IP addresses to FortiSwitch management

    Why it's wrong here

    The FortiSwitch typically gets an IP from the existing network; DHCP may be needed but not always from the FortiGate.

  • Enable STP on the FortiGate interface

    Why it's wrong here

    STP is layer 2 and typically configured on the switch, not required on the FortiGate interface.

  • Enable CAPWAP on the FortiGate interface connected to the FortiSwitch

    Why this is correct

    CAPWAP is the protocol used for FortiGate to manage FortiSwitch.

  • Authorize the FortiSwitch in the FortiGate's managed switch list

    Why this is correct

    The FortiGate must authorize the switch to manage it.

Visual reference

Switch VLAN 10 Sales (192.168.10.0/24) PC-A PC-B VLAN 20 HR (192.168.20.0/24) PC-C PC-D Router VLANs isolate traffic — inter-VLAN routing requires a Layer 3 device

Quick reference

AAA Protocol Comparison

ProtocolPort(s)EncryptionTransportPrimary Use
RADIUS1812 / 1813Password onlyUDPNetwork access control
TACACS+49Full packetTCPDevice administration
Diameter3868Full sessionTCP / SCTPCarrier / mobile networks
802.1XEAP-basedLayer 2Port-based access control

TACACS+ encrypts the entire packet; RADIUS only encrypts the password field — a key exam distinction.

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

Same concept, more angles

3 more ways 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. An administrator needs to integrate a FortiSwitch with a FortiGate for LAN edge management. The FortiGate will manage the switch via the LAN interface. Which TWO steps are required? (Choose two.)

medium
  • A.Enable switch controller on the FortiGate.
  • B.Assign an IP address to the FortiSwitch's management VLAN on the FortiGate.
  • C.Configure the FortiSwitch in standalone mode.
  • D.Disable STP on the FortiSwitch ports connected to the FortiGate.
  • E.Connect the FortiSwitch to a port configured as a 'switch' interface type.

Why A: Enabling the switch controller on the FortiGate activates the FortiLink management protocol, which is required for the FortiGate to discover, configure, and manage the FortiSwitch as a managed switch. Option E is correct because the physical port connecting the FortiSwitch must be configured as a 'switch' interface type (FortiLink interface) to establish the proprietary control and data plane communication between the devices.

Variation 2. An administrator wants to integrate a FortiSwitch with a FortiGate for LAN edge management. Which TWO steps are required for initial setup? (Choose two.)

easy
  • A.Configure OSPF on the FortiSwitch
  • B.Connect the FortiSwitch to the FortiGate's managed switch port
  • C.Set the FortiSwitch to 'transparent' mode
  • D.Authorize the FortiSwitch in the FortiGate's switch controller
  • E.Create a firewall policy allowing traffic between FortiSwitch and FortiGate

Why B: A FortiSwitch must be physically connected to a FortiGate port that has been configured as a managed switch port (via config system interface and set type switch). This dedicated port enables the FortiGate to discover and manage the FortiSwitch using the FortiLink protocol, which encapsulates control and data traffic over a single link. Without this physical connection to a managed switch port, the FortiGate cannot establish the FortiLink adjacency required for LAN edge management.

Variation 3. An administrator wants to use a FortiGate to manage FortiSwitch units via the LAN. Which interface configuration is required on the FortiGate to allow this management?

easy
  • A.The interface must have 'set role lan' configured
  • B.The interface must be configured as a 'trunk' mode to connect to the FortiSwitch
  • C.The interface must be a member of a VDOM
  • D.The interface must have 'set type switch' enabled

Why D: The interface must have 'set type switch' enabled to manage FortiSwitch units. This configuration sets the interface as a FortiLink port, enabling automatic discovery, provisioning, and management of FortiSwitch devices. Trunk mode is not required; in fact, setting the interface as a trunk (set mode trunk) is for aggregating multiple ports or carrying multiple VLANs but does not enable FortiLink control protocols. Therefore, option D is correct.

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.