Cisco NX-OS Port-Channel / LACP
LACP port-channel configuration for Cisco Nexus switches. Supports L2 trunk/access and L3 routed port-channels, with optional vPC membership.
What is it?
NX-OS LACP port-channels bundle multiple physical interfaces into a single logical interface for bandwidth aggregation and redundancy, same as Cisco IOS. The key NX-OS difference: 'feature lacp' must be enabled first, NX-OS uses 'port-channel' (lowercase with hyphen) instead of 'Port-channel', and port-channels can be members of a vPC domain. In data center leaf switches, most server connections use LACP port-channels — dual-homed to one switch (standard port-channel) or dual-homed across two switches (vPC port-channel).
When to use
- ·Server connections that need more than 10G or 25G bandwidth
- ·Dual-homed server connections for redundancy (use vPC if connecting to two switches)
- ·Spine-to-leaf uplinks where maximizing bandwidth is critical
- ·Any connection where link redundancy without STP blocking is needed
When NOT to use
- ·Do not mix different speed interfaces in one port-channel — all members must be the same speed
- ·Do not use 'mode on' (static) for production server connections — use LACP 'active' so failures are detected
How it compares
Prerequisites
- →'feature lacp' must be enabled before channel-group commands will work
- →Both member interfaces must have identical speed, duplex, and switchport configuration
- →For vPC port-channels: the vPC domain must be configured first (see vpc template)
- →NX-OS requires 'no switchport' on L3 port-channels — they default to L2
Config Generator
Verification commands
show port-channel summaryShow all port-channels and member interface state
ExpectedPort-channel shows 'U' (in use). Members show 'P' (bundled). Members showing 'I' (individual) are not bundled.
show lacp neighborShow LACP partner information from the connected device
ExpectedShows neighbor's system ID, port priority, and LACP state for each member interface
show interface port-channel<id> countersShow traffic counters per port-channel
ExpectedNon-zero input/output packets. CRC errors indicate physical layer problems on member links.
Debug commands
show lacp internalShow LACP state machine status for all port-channel members
Common mistakes & fixes
Further learning
Recommended books to go deeper on this topic.
CCNA 200-301 Official Cert Guide Library
Wendell Odom · Cisco Press · EtherChannel, LACP, PAgP — fundamentals and configuration
CCNP Enterprise Core ENCOR 350-401 Official Cert Guide
Brad Edgeworth et al. · Cisco Press · Port-channel design, load balancing, compatibility requirements