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
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
Create the PortChannel in dedicated mode on the NPV switch:
Step 5
switch(config)# interface port-channel 2
switch(config-if)# switchport rate-mode dedicated
switch(config-if)# switchport mode NP
switch(config-if)# no shut
switch(config-if)# exit
Configure the PortChannel member interfaces on the NPV switch in dedicated mode:
Step 6
switch(config)# interface fc3/1-3
switch(config-if)# shut
switch(config-if)# switchport mode NP
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
Set the administrative state of all the PortChannel member interfaces in both NPIV core switch and the
Step 7
NPV switch to ON:
switch(config)# interface fc1/4-6
switch(config-if)# shut
switch(config-if)# no shut
switch(config)# interface fc3/1-3
switch(config-if)# shut
switch(config-if)# no shut
Verifying the PortChannel Configuration
You can view specific information about existing PortChannels at any time from EXEC mode. The
following show commands provide further details on existing PortChannels. You can force all screen
output to go to a printer or save it to a file. See Examples
The show port-channel summary command displays a summary of PortChannels within the switch. A
one-line summary of each PortChannel provides the administrative state, the operational state, the
number of attached and active interfaces (up), and the first operational port (FOP), which is the primary
operational interface selected in the PortChannel to carry control-plane traffic (no load-balancing). The
FOP is the first port that comes up in a PortChannel and can change if the port goes down. The FOP is
also identified by an asterisk ( * ).
Example 17-1 Displays the PortChannel Summary
switch# show port-channel summary
------------------------------------------------------------------------------
Interface
OL-18084-01, Cisco MDS NX-OS Release 4.x
Total Ports
Oper Ports
Cisco MDS 9000 Family CLI Configuration Guide
Verifying the PortChannel Configuration
17-1
to 17-6.
First Oper Port
17-21