Start a Conversation

This post is more than 5 years old

Solved!

Go to Solution

3962

August 1st, 2013 15:00

Not able to define NP port on NPIV enabled switch

Hello,

I have enabled NPIV on a few edge switches. We want to be able to virtualize single ports on the switch not the switch itself. My windows admin guy has enabled NPIV on the HBAs at the hyper-v host level. When I try to enable the HBAs that will use the NPIV, I get "Port requested config change not allowed". I have tried a bunch of combinations(downing the port), etc, in DCNM and I still get that error. Any feedback would be greatly appreciated! Thanks in advance, - Admingirl

1 Rookie

 • 

20.4K Posts

August 1st, 2013 16:00

set admin mode to "auto" ...that way if Hyper-V wants something else it will auto negotiate.

614 Posts

August 1st, 2013 16:00

Thank you so much Dyanmox,

I have npiv enabled on the switch(checked), so  I got the error when I try to define the HBA port as an NP port. Right now it is an F port. If I don't need to do that, then that's great! We will be testing this further on Monday, but I wasn't sure if the port on the switch needed to be NP for the HBAs that are designated as NPIV enabled on the Hyper-V host. This is my first implementation of this and I apologize for the lack of basic understanding about this process.

Thanks again!

Admingirl

1 Rookie

 • 

20.4K Posts

August 1st, 2013 16:00

admingirl wrote:

We want to be able to virtualize single ports on the switch not the switch itself.

i am not sure what you mean, on Cisco MDS when you enable NPIV ..it's for the whole switch, any port will accept multiple flogi. IE:

9513a1# sh flogi data

--------------------------------------------------------------------------------

INTERFACE        VSAN    FCID           PORT NAME               NODE NAME     

--------------------------------------------------------------------------------

fc1/2            1     0x040011  20:29:54:7f:ee:51:88:00 20:01:54:7f:ee:51:88:01

fc1/5            114   0x06007b  20:11:00:05:1e:04:63:17 10:00:00:05:1e:04:63:17

fc1/5            114   0x06007c  50:01:43:80:03:b9:30:18 50:01:43:80:03:b9:30:19

fc1/5            114   0x06007d  50:01:43:80:03:b9:2f:e0 50:01:43:80:03:b9:2f:e1

fc1/5            114   0x06007f  50:01:43:80:03:bd:65:68 50:01:43:80:03:bd:65:69

fc1/5            114   0x060080  50:01:43:80:06:30:55:b0 50:01:43:80:06:30:55:b1

fc1/5            114   0x060081  50:01:43:80:03:bd:65:84 50:01:43:80:03:bd:65:85

fc1/5            114   0x060083  50:01:43:80:03:bd:66:54 50:01:43:80:03:bd:66:55

as you can see i have multiple HBAs logged-in through the same physical port (fc1/5). Where are you getting that error message ? From switch perspective there is nothing else to do, as long as you npiv enabled you are set. The rest is configuration on the host.

9513a1# sh feature  | grep npiv

npiv                  1         enabled

1 Rookie

 • 

20.4K Posts

August 1st, 2013 16:00

nope, don't need to do anything else on the switch. NP port is configured if a switches that has been setup as NPV (where it becomes dummy pass-through device) is connected to a core switch where NPIV has been enabled. For example:

Here is my Cisco MDS 9124e switch where NPV is enabled, as you can see port ext1 is configured as NP port

-------------------------------------------------------------------------------

Interface  Vsan   Admin  Admin   Status          SFP    Oper  Oper   Port

                  Mode   Trunk                          Mode  Speed  Channel

                         Mode                                 (Gbps)

-------------------------------------------------------------------------------

ext1       114    NP     off     up               swl    NP      4    --

ext2       1      NP     off     down             swl    --           --

ext3       1      NP     off     down             swl    --           --

ext4       1      NP     off     down             swl    --           --

ext5       1      NP     off     sfpAbsent        --     --           --

ext6       1      NP     off     sfpAbsent        --     --           --

ext7       1      NP     off     sfpAbsent        --     --           --

Now if we look on my core switch where NPIV is enabled, we will see this (notice port fc1/5)

-------------------------------------------------------------------------------

Interface  Vsan   Admin  Admin   Status          SFP    Oper  Oper   Port

                  Mode   Trunk                          Mode  Speed  Channel

                         Mode                                 (Gbps)

-------------------------------------------------------------------------------

fc1/1      1      FX     off     down             swl    --           --

fc1/2      1      auto   off     up               lwcr   F       8    --

fc1/3      1      FX     off     down             swl    --           --

fc1/4      1      F      off     down             swl    --           --

fc1/5      114    F      off     up               swl    F       4    --

as you can see there is nothing special about port fc1/5 but because NPIV is enabled on the switch, it allows multiple connections from the NPV enabled switch. Probably more than you wanted to know but ..there you go

614 Posts

August 1st, 2013 18:00

Thank you so much Dynamox for all of your help!!

Benita

1 Rookie

 • 

20.4K Posts

August 1st, 2013 20:00

please let us know how it works out, i have a customer who will be migrating from win2k8 Hyper-V to win2k12 R2 Hyper-V and they want to try this same configuration as yours. Being able to present storage to individual VMs instead of CSV volumes.

No Events found!

Top