Created on 06-17-2022 06:46 AM Edited on 08-09-2024 06:42 AM By Stephen_G
Description | This article describes how to bring a managed FortiSwitch over a P2P wireless bridge/mesh link. |
Scope | FortiGate, FortiSwitch and FortiAP version 7.x. |
Solution |
Refer to the following config example:
Setup: FortiGate- FortiSwitch(Switch1)port7 - FortiAP433F <---Mesh link--->FortiAP433F- FortiSwitch(Switch2)port7
Port7 has native VLAN1.
Configuration:
config system global set switch-mgmt-mode fortilink end
Note: The above command is not applicable for FortiSwitch versions 7.2 and above. See the following document: Special notices 7.2.0.
config switch global set fortilink-p2p-native-vlan 1 end
Here, VLAN1 is configured because APs are connected to native VLAN 1.
config switch physical-port edit "port7" set fortilink-p2p enable end
Since the p2p native VLAN is configured as 1, the FortiLink VLAN 4094 will be tagged between the FortiSwitches. As a result, it is necessary to ensure that Leaf AP tags the VLAN 4094. Configure the following parameters on the Leaf AP:
cfg -a MESH_ETH_BRIDGE=1 cfg -c
Multiple VLANs can be added using a comma.
The output of the Inter-Switch Link (ISL) trunk FortiLink interface on both FortiSwitches is below. Note that the VLAN 4094 is tagged.
Switch1:
sh switch trunk edit "S124EFxxxx699-0" set auto-isl 1 set static-isl enable --> Make sure to enable static-isl. next
show switch interface edit "S124EFxxxx699-0" set allowed-vlans 1,39,50,99,4088-4094
Switch2:
sh switch trunk edit "S124EFxxxx159-0" set auto-isl 1 set static-isl enable --> Make sure to enable static-isl. next
show switch interface S124EFxxxx159-0 edit "S124EFxxxx159-0" set allowed-vlans 1,39,50,99,4088-4094 next end
FortiGate:
execute switch-controller get-conn-status FortiLink interface : FortiLnk-ha
For FortiAP and FortiSwitch versions 7.2.x and above, make the following configuration changes:
cfg -a ADDR_MODE=STATIC cfg -a AP_IPADDR=x.x.x.x (This is the IP address of the leaf AP.) cfg -a AP_NETMASK=y.y.y.y (This is the subnet mask.) cfg -a IPGW=x.x.x.y (This is the default gateway.) cfg -c
config system interface edit internal set mode static set ip x.x.x.x y.y.y.y (Where x.x.x.x is the IP address and y.y.y.y is the subnet mask.) end
config router static edit 1 set status enable set gateway x.x.x.x (Where x.x.x.x is the FortiLink interface IP address on the FortiGate.) set device internal end
config system ntp config ntpserver edit 1 set server x.x.x.x (Where x.x.x.x is the FortiLink interface IP address on the FortiGate.) end end
config switch auto-network set mgmt-vlan 4094 set status enable end
Related documents: Page 43: FortiLink over a point-to-point layer-2 network: FortiSwitch Devices Managed by FortiOS 7.0 Refer to the following document link for the FortiAP mesh configuration: Setting up a mesh connection between FortiAP units |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.