Unable to create a span session under a vlan switch in fortios 7.2.8
Please share us your config under "config system virtual-switch"(hard-switch) or "config system switch-interface"(soft-switch), whichever you configured.
Toshi
config system virtual-switch
edit "lan"
set physical-switch "sw0"
config port
edit "port1"
next
edit "port8"
next
end
next
end
You need to enable SPAN on the virtual-switch.
https://community.fortinet.com/t5/FortiGate/Technical-Tip-SPAN-Port-Mirroring-using-ports-associated...
Toshi
it tried here is the command and response
min-201G (virtual-switch) # edit "lan"
Admin-201G (lan) # set span enable
command parse error before 'span'
Command fail. Return code -61
Admin-201G (lan) #
Maybe G series has different command or not supported yet? Does anyone else know?
Toshi
it appears that through the gui it will not allow span on vlan switches only.
The 7.2.10 CLI referece says "* This parameter may not exist in some models."
it works under a virtual switch but not under the vlan switch.
You're talking about GUI, right? Can you check the CLI under config sys virtual-switch when you configured it in GUI under VLAN switch?
The CLI part should be the same between VLAN switch and hard-switch (virtual-switch).
Toshi
User | Count |
---|---|
2275 | |
1236 | |
772 | |
452 | |
397 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.