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-8
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01
Chapter 11 Configuring Port Channels
Configuring Port Channels
Note If you want LACP-based port channels, you need to enable LACP (see the “Enabling LACP” section on
page 11-10).
To create a port channel, perform this task:
This example shows how to create a port channel:
switch# configure terminal
switch (config)# interface port-channel 1
To remove the port channel and delete the associated channel group, perform this task:
Adding a Port to a Port Channel
You can add a port to a new channel group or to a channel group that already contains ports. Cisco
NX-OS creates the port channel associated with this channel group if the port channel does not already
exist.
Note If you want LACP-based port channels, you need to enable LACP (see the “Enabling LACP” section on
page 11-10).
To configure a port channel, perform this task:
Command Purpose
Step 1
switch# configure terminal
Enters configuration mode.
Step 2
switch(config)# interface
port-channel channel-number
Specifies the port-channel interface to configure, and
enters the interface configuration mode. The range is
from 1 to 4096. Cisco NX-OS automatically creates the
channel group if it does not already exist.
Command Purpose
switch(config)# no interface
port-channel channel-number
Removes the port channel and deletes the associated
channel group. See the “Compatibility Requirements”
section on page 11-2 for details on how the interface
configuration changes when you delete the port channel.
Command Purpose
Step 1
switch# configure terminal
Enters configuration mode.
Step 2
switch(config)# interface type
slot/port
Specifies the interface that you want to add to a channel
group and enters the interface configuration mode.
Step 3
switch(config-if)# switchport mode
trunk
(Optional) Configures the interface as a trunk port.