Change FortiLink management vlan from 4094 to customized VLAN

By default, the FortiLink management VLAN is 4094. If this needs to be changed, refer to the link below:

Optional FortiLink configuration required before discovering and authorizing FortiSwitch units

FortiGate CLI

config system interface
    edit <fortilink interface>
        set fortilink enable
       set switch-controller-mgmt-vlan <integer>   --> For example vlan 299.
  next
end
Code language: HTML, XML (xml)

After the change above is applied, the FortiGate will push VLAN 299 as the FortiLink VLAN to the managed FortiSwitches.

Verify this from the FortiSwitch CLI using the command below:

ortiSwitch# show switch auto-network
config switch auto-network
    set mgmt-vlan 299    --> Changed to 299 from default 4094.
end

 

FortiSwitch# show switch interface internal
config switch interface
    edit "internal"
        set native-vlan 299    --> Changed to 299 from default 4094.
        set stp-state disabled
        set snmp-index 29
    next
end