Sub topic 2
LACP: Negotiating a Bundle
This chapter assumes you know Ethernet switching, VLAN trunks, Spanning Tree Protocol, basic switch CLI navigation, and TCP/UDP ports.
How LACP Forms a Bundle
LACP, the Link Aggregation Control Protocol, is an IEEE standard for combining physical Ethernet links into one logical interface. The logical interface is called a port channel or LAG.
Each switch sends LACP messages that describe its system identity, port priority, and aggregation settings. The switches compare these values and select compatible ports. A member becomes active only when both sides agree that it belongs in the same bundle.
| Local mode | Peer mode | Result |
|---|---|---|
| active | passive | Bundle forms |
| passive | passive | No bundle |
| active | active | Bundle forms |
Active mode starts LACP negotiation. Passive mode answers negotiation but does not start it. Use active mode on at least one side, and usually configure active mode on both sides.
Member Ports Must Match
Member ports must have compatible physical and Layer 2 settings. Check these values on both ends:
- Speed and duplex, or compatible autonegotiation settings
- Trunk or access mode
- Allowed VLANs and native VLAN
- Encapsulation and VLAN tagging
- Port-channel negotiation settings
- MTU and other platform-dependent attributes
A mismatch can leave a port suspended or place it outside the bundle. Configure the logical port-channel interface as the source of trunk policy, then keep member interfaces consistent.
Configure an LACP Port Channel
On a Cisco IOS style switch, channel-group 1 mode active adds each interface to port channel 1 and starts LACP.
interface range GigabitEthernet0/1 - 2
switchport mode trunk
switchport trunk allowed vlan 10,20
channel-group 1 mode active
!
interface Port-channel1
switchport mode trunk
switchport trunk allowed vlan 10,20Configure the peer with matching trunk settings and an LACP mode of active or passive.
Verify the Bundle
Use these commands after configuring both switches:
show etherchannel summary
show lacp neighbor
show etherchannel load-balanceLook for a port channel in an up state, member ports marked as bundled, and the expected LACP neighbor. If a member is suspended, compare its speed, trunk mode, VLAN list, native VLAN, and LACP configuration with a working member.
Exercise
Two ports are configured with LACP passive on both switches. Why does the port channel not form, and what change fixes it?
Show answer
Neither side starts negotiation. Change at least one side to LACP active, preferably both sides.