Send document comments to nexus7k-docfeedback@cisco.com
6-23
Cisco Nexus 7000 Series NX-OS Interfaces Configuration Guide, Release 5.x
OL-23435-03
Chapter 6 Configuring Port Channels
Configuring Port Channels
SUMMARY STEPS
1. configure terminal
2. interface port-channel channel-number
3. shutdown | no shutdown
4. exit
5. show interface port-channel channel-number
6. copy running-config startup-config
DETAILED STEPS
This example shows how to bring up the interface for port channel 2:
switch# configure terminal
switch (config)# interface port-channel 2
switch(config-if)# no shutdown
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 2
switch(config-if)
Specifies the port-channel interface that you want to
configure, and enters the interface mode.
Step 3
shutdown
Example:
switch(config-if)# shutdown
switch(config-if)#
Shuts down the interface. No traffic passes and the
interface displays as administratively down. The
default is no shutdown.
no shutdown
Example:
switch(config-if)# no shutdown
switch(config-if)#
Opens the interface. The interface displays as
administratively up. If there are no operational
problems, traffic passes. The default is no shutdown.
Step 4
exit
Example:
switch(config-if)# exit
switch(config)#
Exits the interface mode and returns to the
configuration mode.
Step 5
show interface port-channel
channel-number
Example:
switch(config-router)# show interface
port-channel 2
(Optional) Displays interface information for the
specified port channel.
Step 6
copy running-config startup-config
Example:
switch(config)# copy running-config
startup-config
(Optional) Copies the running configuration to the
startup configuration.