Chapter 17
Configuring PortChannels
S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m
If you misconfigure PortChannels, you may receive a misconfiguration message. If you receive this
message, the PortChannel's physical links are disabled because an error has been detected.
A PortChannel error is detected if the following requirements are not met:
•
•
•
If all three conditions are not met, the faulty link is disabled.
Enter the show interface command for that interface to verify that the PortChannel is functioning as
required.
Creating a PortChannel
To create a PortChannel, follow these steps:
Command
Step 1
switch# config t
switch(config)#
Step 2
switch(config)# interface port-channel 1
switch(config-if)#
Configuring the PortChannel Mode
By default, the CLI and the Device Manager create the PortChannel in ON mode in the NPIV core
switches and ACTIVE mode on the NPV switches. The Fabric Manager creates all PortChannels in
ACTIVE mode. We recommend that you create PortChannels in ACTIVE mode. An F PortChannel is
supported only on ACTIVE mode.
To configure ACTIVE mode, follow these steps:
Command
Step 1
switch# config t
switch(config)#
Step 2
switch(config)# interface port-channel 1
switch(config-if)#
Step 3
switch(config-if)# channel mode active
switch(config-if)# no channel mode active
OL-18084-01, Cisco MDS NX-OS Release 4.x
Each switch on either side of a PortChannel must be connected to the same number of interfaces.
Each interface must be connected to a corresponding interface on the other side (see
an example of an invalid configuration).
Links in a PortChannel cannot be changed after the PortChannel is configured. If you change the
links after the PortChannel is configured, be sure to reconnect the links to interfaces within the
PortChannel and reenable the links.
Purpose
Enters configuration mode.
Configures the specified PortChannel (1) using the
default ON mode.
Purpose
Enters configuration mode.
Configures the specified PortChannel (1) using the
default ON mode.
Configures the ACTIVE mode.
Reverts to the default ON mode.
Cisco MDS 9000 Family CLI Configuration Guide
PortChannel Configuration
Figure 17-7
for
17-11