Example Port Channel Configurations
Example of Configuring Autocreation
The following example configures an automatic channel group:
switch(config)# interface fc2/3
switch(config-if)# channel-group auto
About Manually Configured Channel Groups
A user-configured channel group cannot be converted to an autocreated channel group. However, you can
convert an autocreated channel group to a manual channel group. This task is irreversible. The channel group
number does not change, but the member ports operate according to the properties of the manually configured
channel group, and channel group autocreation is implicitly disabled for all the member ports.
If you enable persistence, be sure to enable it at both ends of the SAN port channel.
Converting to Manually Configured Channel Groups
You can convert autocreated channel group to a user-configured channel group using the san-port-channel
channel-group-number persistent EXEC command. If the SAN port channel does not exist, this command is
not executed.
Example Port Channel Configurations
This section shows examples on how to configure an F port channel in shared mode and how to bring up the
link between F ports on the NPIV core switches and NP ports on the NPV switches. Before you configure the
F port channel, ensure that F port trunking, F port channeling, and NPIV are enabled.
This example shows how to create the port channel:
switch(config)# interface port-channel 2
switch(config-if)# switchport mode F
switch(config-if)# switchport
switch(config-if)# channel mode active
switch(config-if)# exit
This example shows how to configure the port channel member interfaces on the core switch in dedicated
mode:
switch(config)# interface fc1/4-6
switch(config-if)# shut
switch(config-if)# switchport mode F
switch(config-if)# switchport speed 4000
switch(config-if)# switchport rate-mode dedicated
switch(config-if)# switchport trunk mode on
switch(config-if)# channel-group 2
switch(config-if)# no shut
switch(config-if)# exit
This example shows how to create the port channel in dedicated mode on the NPV switch:
switch(config)# interface san-port-channel 2
switch(config-if)# switchport mode NP
switch(config-if)# no shut
switch(config-if)# exit
Cisco Nexus 5000 Series NX-OS SAN Switching Configuration Guide
86
dedicated
Configuring SAN Port Channel
OL-xxxxx-xx