Cisco Nexus 5000 Series Switch CLI Software Configuration Guide (OL-16597-01, July 2009)
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 an EtherChannel. The
EtherChannel is then added to the spanning tree as a single bridge port.
Procedure
PurposeCommand or Action
Enters configuration mode.switch# configure terminal
Step 1
Enables LACP on the switch.switch(config)# feature lacp
Step 2
(Optional)
Displays enabled features.
switch(config)# show feature
Step 3
This example shows how to enable LACP:
switch# configure terminal
switch(config)# feature lacp
Configuring Channel Mode for a Port
You can configure the channel mode for each individual link in the LACP EtherChannel as active or passive.
This channel configuration mode allows the link to operate with LACP.
When you configure EtherChannels with no associated protocol, all interfaces on both sides of the link remain
in the on channel mode.
Before You Begin
Ensure that you have enabled the LACP feature.
Procedure
PurposeCommand or Action
Enters configuration mode.switch# configure terminal
Step 1
Specifies the interface to configure, and enters the
interface configuration mode.
switch(config)# interface type
slot/port
Step 2
Specifies the port mode for the link in an EtherChannel.
After LACP is enabled, you configure each link or the
entire channel as active or passive.
switch(config-if)# channel-group
number mode {active | on | passive}
Step 3
When you run EtherChannels with no associated
protocol, the channel mode is always on.
The default channel mode is on.
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
120 OL-16597-01
Configuring EtherChannels
Enabling LACP