Created on
08-29-2024
02:39 AM
Edited on
11-17-2025
02:14 PM
By
Jean-Philippe_P
This article describes a glimpse of the configuration of LACP between the FortiGate firewall and Juniper Switch.
FortiOS.
The topology setup is as follows:
The FortiGate firewall is configured in an Active-Passive setup, and it is connected to a Juniper switch.
LACP configuration on the FortiGate Side:
config system interface
edit "LACP-X3-X4"
set vdom "root"
set type aggregate
set member "x3" "x4" --> Here it is selected X3, X4 port to be part of LAG.
set alias "sw-uplink"
set device-identification enable
set lldp-reception enable
set lldp-transmission enable
set role lan
set snmp-index 12
set lacp-mode active
set lacp-speed fast ---> Change lacp-speed from slow to fast.
next
end
Note: The default lacp-speed on FortiGate is set to slow (every 30 seconds) while the default speed setting on the Juniper side, in most cases, is set to fast. These settings must match on both sides to ensure proper LACP negotiation.
Since the FortiGate is in HA, the same config will get synced with the Slave device.
LACP configuration on the Juniper Side:
commit
Verify the LACP status on FortiGate and the Juniper switch:
Juniper Side:
show lacp interfaces ae0
Aggregated interface: ae0
LACP state: Role Exp Def Dist Col Syn Aggr Timeout Activity
ge-0/0/6 Actor No No Yes Yes Yes Yes Fast Active
ge-0/0/6 Partner No No Yes Yes Yes Yes Fast Passive
ge-0/0/7 Actor No No Yes Yes Yes Yes Fast Active
ge-0/0/7 Partner No No Yes Yes Yes Yes Fast Passive
LACP protocol: Receive State Transmit State Mux State
ge-0/0/6 Current Fast periodic Collecting distributing
ge-0/0/7 Current Fast periodic Collecting distributing
Note: The LACP protocol indicates the link is up if it is collecting and distributing packets.
Check detailed LACP information:
show interfaces <aggregate_interface_name> extensive
FortiGate Side:
diagnose netlink aggregate name LACP-X3-X4
status: up
npu: y
flush: n
asic helper: y
oid: 82
ports: 2
link-up-delay: 50ms
min-links: 1
ha: master
distribution algorithm: L4
LACP mode: passive
LACP speed: fast
LACP HA: enable
aggregator ID: 1
slave: x3
index: 0
link status: up
LACP state: established
slave: x4
index: 0
link status: up
LACP state: established
Check LACP configuration:
show system interface <aggregate_interface_name>
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 2025 Fortinet, Inc. All Rights Reserved.