Chapter 7 Configuring N Port Virtualization

Configuring N Port Virtualization

switch# copy running bootflash:filename

The configuration can be reapplied later using the following command:

switch# copy bootflash:filename running-config

Detailed Steps

To configure NPV using the CLI, perform the following tasks:

 

Command

Purpose

Step 1

 

 

switch# config t

On the NPV core switch, enters configuration

 

switch(config)#

mode.

Step 2

 

 

switch(config)# feature npiv

Enables NPIV mode on the NPV core switch.

 

switch (config)#

 

 

switch (config)# no feature npiv

Disables NPIV mode on the NPV core switch.

Step 3

 

 

switch(config)# interface fc 2/1

Configures the NPIV core switch port as an F

 

switch(config-if)# switchport mode F

port.

 

switch(config-if)# no shutdown

Changes Admin status to bring up the interfaces.

Step 4

 

 

switch(config)# vsan database

Configures the port VSANs for the F port on the

 

switch(config-vsan-db)# vsan 8 interface fc

NPIV core switch.

 

2/1

 

 

switch(config-vsan-db)# vsan 10 interface fc

 

 

2/1

 

Step 5

 

 

switch(config)# npv enable

Enables NPV mode on a NPV device (module,

 

 

Cisco MDS 9124, Cisco MDS 9134, or Cisco

 

 

MDS 9148 Fabric Switch). The module or

 

 

switch is rebooted, and when it comes back up,

 

 

is in NPV mode.

 

 

Note A write-erase is performed during the

 

 

reboot.

Step 6

 

 

switch(config)# interface fc 1/1

On the NPV device, selects the interfaces that

 

switch(config-if)# switchport mode NP

will be connected to the aggregator switch and

 

 

configure them as NP ports.

 

switch(config-if)# no shutdown

Changes Admin status to bring up the interfaces.

Step 7

 

 

switch(config)# vsan database

Configures the port VSANs for the NP port on

 

switch(config-vsan-db)# vsan 9 interface fc

the NPV device.

 

1/1

 

 

switch(config-vsan-db)# vsan 11 interface fc

 

 

1/1

 

Step 8

 

 

switch(config-if)# exit

Exits interface mode for the port.

Step 9

 

 

switch(config)# interface fc 1/2 - 6

Selects the remaining interfaces (2 through 6)

 

switch(config-if)# switchport mode F

on the NPV-enabled device and configures them

 

 

as F ports.

 

switch(config-if)# no shutdown

Changes Admin status to bring up the interfaces.

 

 

 

 

 

Cisco MDS 9000 Family NX-OS Interfaces Configuration Guide

 

 

 

 

 

 

OL-29284-01, Release 6.x

 

 

7-11

 

 

 

 

 

Page 207
Image 207
Cisco Systems DSC9148D8G48PK9 manual To configure NPV using the CLI, perform the following tasks, Npiv core switch, Reboot