
S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m
1-11
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01
Chapter 1 Configuring Port Channels
Configuring Port Channels
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.
To configure the LACP link mode and port priority, perform this task:
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
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.
Command
Purpose
Step 1
switch#
configure terminal
Enters configuration mode.