Skip to main content
This procedure explains how to configure Fortinet FortiGate switches for port mirroring on models with built-in hardware switches (for example, the FortiGate-100D, 140D, and 200D), using the Switch Port Analyzer (SPAN) feature.

Configuration Through the CLI

To configure SPAN through the CLI
  1. Enter the following:

Configuration Through the Web UI

To configure SPAN through the web UI
  1. Go to System > Network > Interfaces.
  2. Edit a hardware switch interface. By default, the system may have a hardware switch interface called a LAN. You can also create a new hardware switch interface. a. Select the SPAN checkbox, then select a source port from which you want traffic mirrored. b. Select one of the following:
    • Traffic received
    • Traffic sent
    • Both
See the Knowledge Base article on the vendor website to learn more about configuring port mirroring on Fortinet-FortiGate Switches.