LACP, the Link Aggregation Control Protocol, is a standard protocol that lets two directly connected devices negotiate, form and monitor a bundle of parallel Ethernet links that behaves as a single logical interface. In Ethernet & switching, it is the dynamic control plane for link aggregation, defined originally in IEEE 802.3ad and now maintained in IEEE 802.1AX.
By exchanging small control frames, LACP makes sure that only compatible, correctly cabled links join a bundle and that a failed link is removed automatically. The result is more aggregate bandwidth and redundancy without the loops that Spanning Tree Protocol would otherwise have to block.
How LACP negotiates a link bundle
LACP works by sending LACPDUs (LACP data units) out of every member port to the slow protocols multicast address 01-80-C2-00-00-02. Each LACPDU describes the sender as the actor and repeats what it last learned about the other side, called the partner.
A port joins the aggregate only when both ends agree on key values. The table lists the main fields that drive this decision.
| Field | Purpose | Effect on bundling |
|---|---|---|
| System priority and ID | Identifies the device, usually by MAC address | All member links must reach the same partner system |
| Port key | Groups ports with identical capabilities | Ports with different keys cannot share a bundle |
| Port priority | Ranks ports when too many are available | Lower value wins an active slot |
| Actor state flags | Signal activity, timeout, synchronization, collecting and distributing | A link carries traffic only when both sides are in sync |
When the state flags show synchronization, collecting and distributing on both sides, the link starts carrying frames. If LACPDUs stop arriving, the port is removed after a timeout, so a unidirectional fault or miscabling does not silently drop traffic.
Modes, timers and parameters
Each LACP port runs in either active or passive mode. An active port sends LACPDUs on its own, while a passive port only responds. At least one side must be active, otherwise no negotiation ever starts.
| Side A | Side B | Result |
|---|---|---|
| Active | Active | Bundle forms, recommended setting |
| Active | Passive | Bundle forms |
| Passive | Passive | No bundle, neither side starts |
| Active | Static on | Usually fails or forms inconsistently |
Timers control how quickly a failure is detected. In slow rate, LACPDUs are sent every 30 seconds with a timeout of 90 seconds; in fast rate, they are sent every 1 second with a 3-second timeout. Fast rate detects silent failures much sooner, at the cost of slightly more control traffic and CPU work.
Most platforms also limit bundle size. Common limits are 8 active links, with some vendors allowing 16 or more and additional ports held as hot-standby members that activate when an active link fails.
LACP compared with static aggregation and related features
Link aggregation can be configured statically, without any protocol, or dynamically with LACP. The difference matters most when something goes wrong, as the table shows.
| Approach | Failure detection | Main risk |
|---|---|---|
| LACP (802.1AX) | Detects physical and logical faults via LACPDUs | Mismatched keys keep ports out of the bundle |
| Static link aggregation | Physical link-down only | Miscabling can black-hole traffic |
| Vendor protocols such as PAgP | Similar to LACP, proprietary | Works only between devices of one vendor |
| Spanning Tree Protocol only | Blocks redundant links | Unused capacity on blocked links |
LACP does not replace Spanning Tree Protocol; instead, STP sees the bundle as one logical port, so none of its members is blocked. LACP also differs from ECMP, which balances traffic across routed paths at layer 3 rather than across bundled Ethernet ports. LLDP is a separate discovery protocol that helps verify cabling but does not form bundles.
How traffic is distributed
LACP negotiates membership, but it does not decide which link carries each frame. That task belongs to a local hashing algorithm that maps every flow to one member link, which keeps frames of a flow in order.
The hash typically uses MAC addresses, IP addresses or TCP and UDP ports. Including layer 4 ports usually spreads traffic more evenly between many hosts. An important consequence is that a single flow never exceeds the speed of one member link: a four-link bundle of 10 Gbit/s ports offers 40 Gbit/s in aggregate, yet one file transfer still tops out at 10 Gbit/s.
Deploying LACP in practice
LACP is common between access and distribution switches, between switches and servers or hypervisors, and toward storage arrays and firewalls. For redundancy against a whole switch failing, vendors offer multi-chassis link aggregation, such as stacking or MLAG, where two physical switches present one LACP system ID.
Successful deployments follow a few rules that experienced engineers apply consistently. The table summarizes the most frequent mistakes.
| Mistake | Symptom | Fix |
|---|---|---|
| Mismatched speed or duplex | Some ports stay suspended | Use identical speed on all members |
| Different VLAN or trunk settings per port | Ports refused by the bundle | Configure on the logical interface |
| Passive mode on both ends | Bundle never comes up | Set at least one side to active |
| Odd number of member links | Uneven load on links | Prefer two, four or eight members |
| Expecting faster single transfers | One flow uses one link | Use faster links or parallel flows |
Operators should also verify the partner system ID on every member port, because a cable patched to the wrong switch is exactly the fault that LACP is designed to catch. Using fast rate on links to servers and firewalls is a frequent recommendation when the platform supports it.
Understanding it simply
LACP is a way for two network devices to join several cables into one wider connection. Imagine a highway that gets extra lanes: more cars can travel at once, and if one lane closes, traffic keeps moving in the others.
The protocol is the conversation the two devices have to agree on which lanes belong together. They keep talking every few seconds, so if one lane is broken or plugged into the wrong place, it is taken out of use automatically. One car, however, still uses only one lane at a time.
Applied in practice
A hospital data center connects each virtualization host to a pair of top-of-rack switches running MLAG. Every host uses two 25 Gbit/s ports in an LACP bundle, with both sides in active mode and fast rate enabled, giving 50 Gbit/s of aggregate capacity for virtual machine traffic.
During maintenance, a technician mistakenly moves one host cable to a port on a different switch pair. Because the LACPDUs now report a different partner system ID, the switch suspends that port within about three seconds instead of forwarding traffic into the wrong network. The host keeps running on its remaining 25 Gbit/s link, monitoring raises an alert, and the cable is corrected before any patient record system is affected. LACP turned a cabling error into a harmless warning.