FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
cravikumar
Staff
Staff
Article Id 270123
Description

This article describes how to configure port mirror (SPAN) / Monitor traffic on SSID.

Scope

FortiGate, FortiAP.

Solution
  1. Configure SSID:

config wireless-controller vap

    edit example_wlan

        set ssid “fortinet”

        set local-bridging enable

        set schedule always

        set vdom root

    end

 

config system interface

    edit “Test”

        set vdom “root”

        set type vap-switch

        set role lan

        set snmp-index 17

    next

 

 Picture1.jpg

 

  1. Create switch-interface:

 

config system switch-interface

    edit "SW1"

        set vdom "root"

        set member "Test" "internal1"

        set span enable

        set span-dest-port "internal1"

        set span-source-port "Test"

        set span-direction both

    next

end

 

Picture2.png

 

  1. Add source, destination ports, and direction.

 

config system switch-interface

    edit "SW1"

        set vdom "root"

        set member "Test" "internal1"

        set span enable

        set span-dest-port "internal1"

        set span-source-port "Test"

        set span-direction both

    next

end

 

Source Port: SSID interface.

Destination port: Packets are forwarded to this port.

Traffic out: Only transmitted packets are copied from the source to the destination SPAN port.

Traffic In: Only received packets are copied from the source to the destination SPAN port.

Both: Both transmitted and received packets are copied from the source to the destination SPAN port.

 

Picture3.png

 

Picture4.png

Contributors