Created on 08-29-2024 02:39 AM Edited on 09-26-2024 01:41 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
next
end
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 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 states indicates the link is up if it is collecting and distributing packets.
Check detailed LACP information:
show interfaces <aggregate_interface_name> extensive
FortiGate Side:
diag 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: slow
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 2024 Fortinet, Inc. All Rights Reserved.