Technical Tip: Standalone FortiSwitch default configuration to avoid loosing VLAN configs
| Description | This article describes the default configuration on the standalone FortiSwitch to prevent VLAN config lost on trunk interfaces. |
| Scope | FortiSwitch in Standalone mode. |
| Solution | When FortiSwitch is configured as standalone mode, then the default 'native-vlan' on the internal interface should be 1 as mentioned below: For Example: config switch interface edit "internal" set description '' set native-vlan 1 next end
For example: config switch auto-network set status enable set mgmt-vlan 4094 end This will make the native VLAN changed to 4094 after the reboot of the switch: config switch interface edit "internal" set description '' " set native-vlan 4094 next end This will cause a change in the 'native-vlan' on all the trunk interfaces created on the standalone switch from the expected VLAN to 4094 : config switch interface edit "PO1" set native-vlan 10 <----- Will change to 4094. next edit "PO2" set native-vlan 20 <----- Will change to 4094. next end 'auto-network' should be disabled on the standalone switches to avoid 'vlan-config' losses on trunk interfaces after reboot. config switch auto-network set status disable end |
