Send document comments to nexus7k-docfeedback@cisco.com
6-17
Cisco Nexus 7000 Series NX-OS Interfaces Configuration Guide, Release 5.x
OL-23435-03
Chapter 6 Configuring Port Channels
Configuring Port Channels
DETAILED STEPS
Use the no interface port-channel command to remove the port channel and delete the associated
channel group.
This example shows how to create a port channel:
switch# configure terminal
switch (config)# interface port-channel 1
See the “Compatibility Requirements” section on page 6-5 for details on how the interface configuration
changes when you delete the port channel.
Adding a Layer 2 Port to a Port Channel
You can add a Layer 2 port to a new channel group or to a channel group that already contains Layer 2
ports. The software creates the port channel associated with this channel group if the port channel does
not already exist.
BEFORE YOU BEGIN
Enable LACP if you want LACP-based port channels.
Command Purpose
Step 1
configure terminal
Example:
switch# configure terminal
switch(config)#
Enters configuration mode.
Step 2
interface port-channel channel-number
Example:
switch(config)# interface port-channel 1
switch(config-if)
Specifies the port-channel interface to configure, and
enters the interface configuration mode. The range is
from 1 to 4096. The Cisco NX-OS software
automatically creates the channel group if it does not
already exist.
Step 3
show port-channel summary
Example:
switch(config-router)# show port-channel
summary
(Optional) Displays information about the port
channel.
Step 4
copy running-config startup-config
Example:
switch(config)# copy running-config
startup-config
(Optional) Copies the running configuration to the
startup configuration.
Command Purpose
no interface port-channel channel-number
Example:
switch(config)# no interface port-channel
1
Removes the port channel and deletes the
associated channel group.