Interfaces in a PortChannel
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
Adding an Interface to a PortChannel
To add an interface to a PortChannel, follow these steps:
Command
Step 1
switch# config t
switch(config)#
Step 2
switch(config)# interface fc1/15
switch(config-if)#
Step 3
switch(config-if)# channel-group 15
To add a range of ports to a PortChannel, follow these steps:
Command
Step 1
switch# config t
switch(config)#
Step 2
switch(config)# interface fc1/1 - 5
switch(config-if)#
Step 3
switch(config-if)# channel-group 2
By default, the CLI adds a interface normally to a PortChannel, while the Fabric Manager adds the
Note
interface by force, unless specified explicitly.
Forcing an Interface Addition
You can force the port configuration to be overwritten by the PortChannel. In this case, the interface is
added to a PortChannel.
•
•
When PortChannels are created from within an interface, the force option cannot be used.
Note
After the members are forcefully added, regardless of the mode (ACTIVE and ON) used, the ports at
either end are gracefully brought down, indicating that no frames are lost when the interface is going
down (see the
Cisco MDS 9000 Family NX-OS Interfaces Configuration Guide
6-14
If you use the default ON mode to avoid inconsistent states across switches and to maintain
consistency across switches, then the ports shut down. You must explicitly enable those ports again.
If you use the ACTIVE mode, then the PortChannel ports automatically recover from the addition.
"Graceful Shutdown" section on page
Chapter 6
Purpose
Enters configuration mode.
Configures the specified port interface (fc1/15).
Adds physical Fibre Channel port 1/15 to
channel group 15. If channel group 15 does not
exist, it is created. The port is shut down.
Purpose
Enters configuration mode.
Configures the specified range of interfaces. In
this example, interfaces from 1/1 to 1/5 are
configured.
Adds physical interfaces 1/1, 1/2, 1/3, 1/4, and
1/5 to channel group 2. If channel group 2 does
not exist, it is created.
If the compatibility check is successful, the
interfaces are operational and the
corresponding states apply to these interfaces.
2-12).
OL-19445-02, Cisco MDS NX-OS Release 4.2(x)
Configuring PortChannels