NOTE: FortiSwitch will reboot when you issue the set fsw-wan1-admin enable command. NOTE: If the members of the aggregate interface connect to more than one FortiSwitch, you must enable fortilink-split-interface.Ĭonfig switch-controller managed-switch edit FS224D3W14000370 (optional) set fortilink-split-interface enable next Create a trunk with the two ports that you connected to the switch:Ĭonfig system interface edit flink1 (enter a name, 11 characters maximum) set ip 169.254.3.1 255.255.255.0 set allowaccess ping capwap https set vlanforward enable set type aggregate set member port4 port5 set lacp-mode static set fortilink enable.If required, remove the FortiLink ports from the lan interface:Ĭonfig system virtual-switch edit lan config port delete port4 delete port5.In the following procedure, port 4 and port 5 are configured as a FortiLink LAG. Ensure that you configure autodiscovery on the FortiSwitch ports (unless it is auto-discovery by default). Hardware switch is supported on some FortiGate models.Ĭonnect any of the FortiLink-capable ports on the FortiGate to the FortiSwitch. NOTE: LAG is supported on all FortiSwitch models and on FortiGate models FGT-100D and above.
#Fortinet download config cli software#
You can configure FortiLink on a logical interface: link-aggregation group (LAG), hardware switch, or software switch). Configure FortiLink on a logical interface NOTE: The FortiSwitch unit will reboot when you issue the set fsw-wan1-admin enable command. Authorize the FortiSwitch unit as a managed switch.Ĭonfig switch-controller managed-switch edit FS224D3W14000370 set fsw-wan1-admin enable.Configure port 1 as the FortiLink interface:Ĭonfig system interface edit port1 set auto-auth-extension-device enable set fortilink enableĬonfig system ntp set server-mode enable set interface port1 end.If required, remove port 1 from the lan interface:Ĭonfig system virtual-switch edit lan config port delete port1.In the following steps, port 1 is configured as the FortiLink port. Authorize the managed FortiSwitch unit.Ĭonfigure FortiLink on any physical port on the FortiGate unit and authorize the FortiSwitch unit as a managed switch.Configure FortiLink on a physical port or configure FortiLink on a logical interface.
You can also configure FortiLink mode over a layer-3 network. If you use one of the auto-discovery FortiSwitch ports, you can establish the FortiLink connection (single port or LAG) with no configuration steps on the FortiSwitch and with a few simple configuration steps on the FortiGate unit. Fortinet recommends using the FortiGate GUI because the CLI procedures are more complex (and therefore more prone to error).
#Fortinet download config cli how to#
This section describes how to configure FortiLink using the FortiGate CLI. FortiLink configuration using the FortiGate CLI