Customer Service
Customer Service Information and Announcements
pprince
Staff
Staff
Article Id 246975
Description

This article describes that When the FortiSwitch is not coming online on the FortiGate and shows the below error:

 

diagonose switch-controller diagnose connection <FSW SN>

 

FG200E4Q169XXXXX (root) # execute switch-controller diagnose-connection

Fortilink interface ... OK

Testsoft  enabled

        WARNING: VLAN interface for default vlan-id is missing ... please check config

 

Example :

 

pprince_0-1677159908330.png
Scope FortiGate 6.4.x, above and FortiSwitch 6.4.x and above.
Solution

When a managed FortiSwitch comes online on the FortiGate it by default creates 5 VLANs with default VLAN IDs on the FortiGate:

https://docs.fortinet.com/document/fortiswitch/7.2.4/fortilink-guide/546342/configuring-vlans

 

VLAN ID

NAME

1

vsw.fortilink

4091

voice        

4090

video       

4092

rspan        

4089

onboarding   

 

The issue is seen when the name of any of the default VLANS is changed to a new name, or assign any VLAN with the default VLAN IDs, the default VLAN names and the IDs should not be tweaked as these are auto-generated VLANs.

 

Resolution steps:

Change the existing VLAN ID with a new ID other than the default IDs.

E.g. If the VLAN1 is named as abc: it needs to be changed to vsw.fortilink.

 

It is possible to change the VLAN name directly because this would be used on multiple interfaces and will have many references.

One way to do this is by exporting the FortiGate configuration file and editing the configuration file where we have to replace 'abc' to 'vsw.fortilink: and import the configuration again to the FortiGate.

 

Make sure the default VLANs and the IDs on the FortiGate remain unchanged.