I have an FG on 7.0.7 and two swithces 108E-FPOE and 148E both on the compatible 6.4.4.
In a specfici scanarion I needed to disable the automatic forming of Fortilink trunk between the switches especially that there are 3rd party network devices in between them.
I did asigned the default lldp profile (with no auto-isl ) to the uplink ports and set the AC discovery on the 148E to static, and configured the trunk manually
conf switch trunk
set member xx
config switch interface
set allowed vlans .....
However, whenever the switch is connected to Fortigate all this is overriden by the default automatic trunk.
I even tried to configure my custom settings using a custom command (forcing my desired allowed and native VLANs on the uplinks).
The custom commands do successfully apply to the 108 switch.
On the other switch the custom commands are applied to the switch then they are overridden again with the vlan configurations configured on Fortigate (I noted this by the diag debug cli 8 on the Fortiswitch cli).
My desired scenario is that the native vlan needed to be 1 not 4094.
All my trials fail to achieve this.
It only worked when I changed the mgmt vlan to 1 using the below commands on the switches
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.