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
Command
Step 2
switch(config)# interface fc1/15
switch(config-if)#
Step 3
switch(config-if)# channel-group 15
fc1/15 added to port-channel 15 and disabled
please do the same operation on the switch at
the other end of the port-channel, then do
"no shutdown" at both ends to bring them up
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
fc1/1 fc1/2 fc1/3 fc1/4 fc1/5 added to
port-channel 2 and disabled
please do the same operation on the switch at
the other end of the port-channel, then do
"no shutdown" at both ends to bring them up
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 CLI Configuration Guide
16-12
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 16
Purpose
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.
12-12).
OL-16184-01, Cisco MDS SAN-OS Release 3.x
Configuring PortChannels