Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
rsl
New Contributor

RSPAN

I have a 4 managed fortiswitch. An would like to sniff some ports on sw1, some on sw2 and mirror that to a specific port on sw3. From the documentation I can sniff base on mac address or ip address. It not workin, what is wrong in my config? also do I need to set VLAN 4092 on both port as tag?

 

Here is my config:

config switch-controller traffic-sniffer set mode rspan config target-mac edit mm:mm:mm:xx:xx:xx set description device-to-sniff end config target-port edit S248EPTFXXXXXXXX set description where-to-send-data set in-ports port38 set out-ports port38 end end

1 REPLY 1
manasac
Staff
Staff

Hi @rsl 

 

https://community.fortinet.com/t5/tkb/workflowpage/tkb-id/TKB30/article-id/36

 

Please go through the above article for the complete details on how to configure

 

The target port config is to monitor the specific port, this will not send the data to the port 

 

config switch-controller traffic-sniffer
set erspan-ip 192.168.41.100//the target IP address for the traffic,whichis routed through the FortiGate unit
config target-mac
edit 28:d2:44:ea:e7:8e //a specific MAC address you want to examine
next

 

Manasa C
Labels
Top Kudoed Authors