Sub topic 1
Link Aggregation and Port Channels: Combining Ethernet Links with LACP
Prerequisites
Assume you understand Ethernet frames, MAC addresses, VLAN trunks, basic switch CLI commands, and why loops are dangerous.
Why Aggregate Links
A single Ethernet link can become a bottleneck or a single point of failure. Link aggregation combines multiple physical links between devices into one logical connection. The combined link can carry more total traffic, and traffic can continue if one member link fails.
Aggregation does not make one connection faster than one physical member. A single TCP flow normally uses only one member link, so a 1-Gbps flow remains limited to about 1 Gbps. Several independent flows can use different members and approach the bundle's total capacity.
What a LAG or Port Channel Is
A Link Aggregation Group (LAG) is a set of physical Ethernet ports managed as one logical interface. Vendors use names such as port channel and EtherChannel. The logical interface holds shared settings, such as trunk VLANs. Each physical port is a member of that logical interface.
How Frames Are Spread Across Member Links
The sending device calculates a hash from fields in a flow, such as source and destination MAC addresses, IP addresses, and transport ports. The result selects one member. All packets in that flow normally use the same member, preserving packet order.
The exact fields depend on the platform:
| Hash inputs | Useful when |
|---|---|
| Source and destination IP addresses | Most traffic is routed between many hosts |
| Source and destination IP addresses plus TCP/UDP ports | Many flows exist between the same host pair |
A bundle with uneven traffic may have a good configuration. A few large flows can hash to the same member.
Static Bundling and Its Risks
Static aggregation forces ports into a bundle without negotiating with the neighbor. It can work in controlled environments, but a cabling or configuration mistake may create a loop, duplicate frames, or blackhole traffic.
LACP, the standards-based negotiation protocol, is usually safer because devices exchange information and reject incompatible members. Use static mode only when both sides are deliberately configured for it and no negotiation is available.
Exercise
Two 1-Gbps links form a LAG. Can one TCP download reach 2 Gbps?
Show answer
Usually no. One flow normally selects one member, so it is limited to roughly 1 Gbps. Multiple flows can use both members.