Network Tap (SPAN port) on FortiGate 100D (FortiOS 4.0MR3)

fortigatefortinetnetworkingport-mirroring

I'm dealing with a FortiGate 100D for the first time, and am scratching my head as there doesn't seem to be an easy way to mirror ports in the switch; which is really a facility that I presumed it would provide.

Ideally, I want to mirror one (or more) ports to another port, so that I can track the traffic that is flowing through it.

i.e.

  • mirror WAN1 to an internal port
  • mirror an internal port to a different internal port
  • etc.

I could do it with a passive network tap, of course; but it seems really strange to me that the 100D doesn't seem to expose an easy way to do this.

I'm new to the hardware/FortiOS, though — so possibly I am simply missing something obvious.

Many thanks if someone can point me in the direction of how to set this up on FortiOS/FortiGate.

Best Answer

From the FortiOS CLI reference, under system > switch-interface:

config system switch-interface
  edit <group_name>
    set member <iflist>
    set span {enable | disable}
    set span-dest-port <portnum>
    set span-direction {rx | tx | both}
    set span-source-port <portlist>
    set type {hub | switch | hardware-switch}
    set vdom <vdom_name>
  end