Purpose
Command or Action
Enables NPIV for all VSANs on the
switch.
feature npiv
Example:
switch(config)# feature npiv
Step 2
Disables (default) NPIV on the switch.
no feature npiv
Example:
switch(config)# no feature npiv
Step 3
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
dedicated
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
This example shows how to configure the port channel member interfaces on the NPV switch:
switch(config)#
interface fc2/1-2
switch(config-if)#
shut
switch(config-if)#
switchport mode NP
switch(config-if)#
switchport trunk mode on
switch(config-if)#
channel-group 2
switch(config-if)#
no shut
switch(config-if)#
exit
Cisco Nexus 5500 Series NX-OS SAN Switching Configuration Guide, Release 7.x
24
OL-30895-01
Configuring Fibre Channel Interfaces
Example Port Channel Configurations