The license file is in the .lic format and has to be copied to the switch and installed using the following
command:
Switch# install license bootflash:Switch_port_lic_48.lic
Note
Step 2
Check out the license:
Switch(config)# install feature-set fcoe-npv
Switch(config-vdc)# feature-set fcoe-npv
Step 3
Configure the needed features on the NPV:
Switch(config)# feature telnet
Switch(config)# feature lacp
Switch(config)# feature lldp
Step 4
Convert the FC port:
Switch(config)# slot 1
Switch(config-slot)# port 13-36 type fc
Port type is changed. ACTION REQUIRED: Please save configurations and reload the switch
Step 5
Configure service policies:
Switch(config)# system qos
Switch(config-sys-qos)# service-policy type network-qos default-fcoe-8q-nq-policy
Switch(config-sys-qos)# service-policy type queuing output default-fcoe-8q-out-policy
Step 6
Configure TCAM carving:
Switch(config-vrf)# hardware access-list tcam region ing-racl 1536
Warning: Please save config and reload the system for the configuration to take effect
Switch(config)# hardware access-list tcam region ing-redirect 256
Warning: Please save config and reload the system for the configuration to take effect
Step 7
Copy the running configuration to startup:
Switch(config)# copy running-config startup-config
[########################################] 100%
Step 8
(Mandatory) Reload the switch so that the port conversion is applied and TCAMS are carved properly:
Switch(config)# reload
This command will reboot the system. (y/n)? [n] y
2017 Sep 14 10:12:19 Switch %PLATFORM-2-PFM_SYSTEM_RESET: Manual system restart from Command
Line Interface
Step 9
Configure VLAN-VSAN mappings:
Switch(config)# vlan 1,20,30,40,1000,1002,1010
Switch(config-vlan)# vlan 20
Switch(config-vlan)# fcoe vsan 200
Switch(config-vlan)# vlan 30
Switch(config-vlan)# fcoe vsan 200
Switch(config-vlan)# fcoe vsan 300
Switch(config-vlan)# vlan 40
Switch(config-vlan)# fcoe vsan 300
Cisco Nexus 9000 Series NX-OS FC NPV Configuration Guide
23
Configuring N Port Virtualization
FC NPV Core Switch and FC NPV Edge Switch Configuration Example