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-11
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01
Chapter 11 Configuring Port Channels
Configuring Port Channels
To configure the LACP link mode, perform this task:
This example shows how to set the LACP-enabled interface to active port-channel mode for Ethernet
interface 1/4 in channel group 5:
switch# configure terminal
switch (config)# interface ethernet 1/4
switch(config-if)# channel-group 5 mode active
Configuring the LACP System Priority and System ID
The LACP system ID is the combination of the LACP system priority value and the MAC address.
To configure the LACP system priority, perform this task:
This example shows how to set the LACP system priority to 2500:
switch# configure terminal
switch(config)# lacp system-priority 2500
Configuring the LACP Port Priority
When you enable LACP, you can configure each link in the LACP port channel for the port priority.
Command Purpose
Step 1
switch# configure terminal
Enters configuration mode.
Step 2
switch(config)# interface type
slot/port
Specifies the interface to configure, and enters the
interface configuration mode.
Step 3
switch(config-if)# channel-group
number mode {active | on | passive}
Specifies the port mode for the link in a port channel.
After LACP is enabled, you configure each link or the
entire channel as active or passive.
When you run port channels with no associated protocol,
the port-channel mode is always on.
The default port-channel mode is on.
switch(config-if)# no channel-group
number mode
Returns the port mode to on for the specified interface.
Command Purpose
Step 1
switch# configure terminal
Enters configuration mode.
Step 2
switch(config)# lacp system-priority
priority
Configures the system priority for use with LACP. Valid
values are 1 through 65535, and higher numbers have
lower priority. The default value is 32768.
Step 3
switch(config-if)# show lacp
system-identifier
Displays the LACP system identifier.