Link Aggregation Groups
Trunk/LAG ports
1. Configure the trunk 1 interface and assign member ports as a LAG group:
config switch trunk
edit trunk1
set members "port1" "port2" "port3"
set description test
set mode lacp-passive
set port-selection criteria src-dst-ip
end
end
2. Configure the switch ports to have native vlan assignments and allow those vlans on the port that will be the uplink
port:
config switch interface
edit port 1
set native-vlan 1
next
edit port 2
set native-vlan 2
next
edit port 3
set native-vlan 3
next
edit port 4
set native-vlan 4
set allowed vlans 1 2 3
next
edit port 5
set native-vlan 5
set allowed-vlans 1 2 3
end
end
3. Configure the trunk 2 interface and assign member ports as a LAG group:
config switch trunk
edit trunk2
set members "port4" "port5"
set description test
set mode lacp-passive
set port-selection criteria src-dst-ip
end
33
FortiSwitchOS-3.2.0