Send document comments to nexus7k-docfeedback@cisco.com
6-20
Cisco Nexus 7000 Series NX-OS Interfaces Configuration Guide, Release 5.x
OL-23435-03
Chapter 6 Configuring Port Channels
Configuring Port Channels
BEFORE YOU BEGIN
Enable LACP if you want LACP-based port channels.
Ensure that you are in the correct VDC (or use the switchto vdc command).
Remove any IP addresses configured on the Layer 3 interface.
SUMMARY STEPS
1. configure terminal
2. interface type slot/port
3. no switchport
4. channel-group channel-number [force] [mode {on | active | passive}]
5. show interface type slot/port
6. copy running-config startup-config
DETAILED STEPS
Command Purpose
Step 1
configure terminal
Example:
switch# configure terminal
switch(config)#
Enters configuration mode.
Step 2
interface type slot/port
Example:
switch(config)# interface ethernet 1/4
switch(config-if)
Specifies the interface that you want to add to a
channel group, and enters the interface configuration
mode.
Step 3
no switchport
Example:
switch(config-if)# no switchport
Configures the interface as a Layer 3 port.
Step 4
channel-group channel-number [force]
[mode {on | active | passive}]
Example:
switch(config-if)# channel-group 5
Example:
switch(config-if)# channel-group 5 force
Configures the port in a channel group and sets the
mode. The channel-number range is from 1 to 4096.
The Cisco NX-OS software creates the port channel
associated with this channel group if the port channel
does not already exist.
(Optional) Forces an interface with some incompatible
configurations to join the channel. The forced interface
must have the same speed, duplex, and flow control
settings as the channel group.