Cisco Nexus 5000 Series Switch CLI Software Configuration Guide, NX-OS 4.0(1a)N1 (OL-16597-01, January 2009)

Send feedback to nx5000-docfeedback@cisco.com
36-10
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01
Chapter 36 Configuring SAN Port Channels
Interfaces in a SAN Port Channel
The following example adds an interface to a SAN port channel:
switch(config)# interface fc2/3
switch(config-if)# channel-group 15
fc2/3 added to san-port-channel 15 and disabled
please do the same operation on the switch at the other end of the san-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 SAN port channel. In this case, the interface
is added to a SAN port channel.
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 port channel ports automatically recover from the addition.
Note When SAN port channels are created from within an interface, the force option cannot be used.
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 “Setting the Interface Administrative State” section on page 32-9).
To force the addition of a port to a SAN port channel, perform this task:
The following example adds an interface to a SAN port channel:
switch(config)# interface fc2/3
switch(config-if)# channel-group 15 force
fc2/3 added to san-port-channel 15 and disabled
please do the same operation on the switch at the other end of the san-port-channel, then
do “no shutdown” at both ends to bring them up
About Interface Deletion from a SAN Port Channel
When a physical interface is deleted from the SAN port channel, the channel membership is
automatically updated. If the deleted interface is the last operational interface, then the port channel
status is changed to a down state. Deleting an interface from a SAN port channel decreases the channel
size and bandwidth of the SAN port channel.
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 port channel ports automatically recover from the deletion.
Command Purpose
Step 1
switch# configuration terminal
switch(config)#
Enters configuration mode.
Step 2
switch(config)# interface type slot/port
switch(config-if)#
Enters configuration mode for the specified
interface.
Step 3
switch(config-if)# channel-group
channel-number force
Forces the addition of the interface into the
specified channel group. The E port is shut
down.