This article describes an issue with a corrupt FortiLink interface. It is impossible to configure FortiLink and it shows the error ‘Failed to get FortiLink interface data’.
The issue is the missing configuration which caused this error:
Scope
FortiOS.
Solution
To resolve this issue, it is necessary to create a new FortiLink interface under hard-switch by going to Network > Interface > Create New > Type hardware Switch.
After that, it is necessary to enable FortiLink on that interface by running the following commands on CLI:
config sys interface edit fortilink2 set fortilink enable end
Once enabled, it will display a new FortiLink interface as the below screenshot shows it and that can be used for FortiSwitch:
A similar interface can be seen under Wifi & Switch Controller > FortiLink Interface:
Now, it should be possible to connect a new FortiSwitch using the new Fortilink2 interface.