Cisco Nexus 5000 Series Switch CLI Software Configuration Guide, NX-OS 4.0(1a)N1 (OL-16597-01, January 2009)

Send feedback to nx5000-docfeedback@cisco.com
11-10
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01
Chapter 11 Configuring Port Channels
Configuring Port Channels
To restore the default load-balancing algorithm of source-dest-mac for non-IP traffic and source-dest-ip
for IP traffic, perform this task:
Note Before Release 4.0(1a)N1 of Cisco NX-OS, the source-dest-ip, source-dest-mac, and source-dest-port
keywords were source-destination-ip, source-destination-mac, and source-destination-port,
respectively.
Enabling LACP
LACP is disabled by default; you must enable LACP before you begin LACP configuration. You cannot
disable LACP while any LACP configuration is present.
LACP learns the capabilities of LAN port groups dynamically and informs the other LAN ports. Once
LACP identifies correctly matched Ethernet links, it facilitates grouping the links into a port channel.
The port channel is then added to the spanning tree as a single bridge port.
To enable LACP, perform this task:
This example shows how to enable LACP:
switch# configure terminal
switch (config)# feature lacp
Configuring Port-Channel Port Modes
After you enable LACP, you can configure the channel mode for each individual link in the LACP port
channel as active or passive. This channel configuration mode allows the link to operate with LACP.
When you configure port channels with no associated protocol, all interfaces on both sides of the link
remain in the on channel mode.
Command Purpose
switch(config)# no port-channel
load-balance ethernet
Restores the default load-balancing algorithm.
Command Purpose
Step 1
switch# configure terminal
Enters configuration mode.
Step 2
switch(config)# feature lacp
Enables LACP on the switch.
Step 3
switch(config)# show system internal
clis feature
(Optional) Displays enabled features.