EtherChannel with LACP, and load balancing
Sign in to read this lesson
LACP (IEEE 802.3ad) is similar to PAgP but is a standard and works with any vendor. Its modes are active (asks actively) and passive (waits). active + active and active + passive form an EtherChannel; passive + passive does not. An EtherChannel spreads traffic not packet by packet but by flow, using a hash. The default method is often the source MAC. If one side has a single device (for example a router), all its traffic lands on one link, so change the method with "port-channel load-balance" (dst-mac, src-dst-ip and so on).
What you will learn
- LACP modes: active (actively proposes), passive (waits), on (no negotiation), off. Working pairs: active + active, active + passive, on + on. passive + passive does not work.
- LACP is an IEEE standard: it works between Cisco and HP/Aruba, Huawei, MikroTik and server NICs. PAgP only works between Cisco devices. LACPDUs go to
01:80:c2:00:00:02with Ethertype 0x8809 (Slow Protocols). - When moving from PAgP to LACP, clean up first:
default interface fa0/13andno interface port-channel 1. - Load balancing is not per packet: the switch calculates a hash from header fields (MAC/IP), and the same flow always takes the same link. Check with
show etherchannel load-balance. - The default method (for example src-mac) leaves a link idle when all traffic comes from one MAC (a router). Change it with
port-channel load-balance dst-mac(orsrc-dst-ip). This is a global command, chosen on each side separately.
The lesson has 5 key points, an explanation and 5 questions. It opens with a package.