FC Stuff I can't Afford in my Home LAB

No money for a Nexus 5000 in my home lab.  Plan is to take a lot of notes and get rack time.  Notes below.

NPIV
A N port has a single N port ID associated with it. The N Port ID has one WWN assigned to it.  NPIV allows a single physical N Port to have multiple WWPNs assigned to it.  The fabric assigns new N Port ID's for each WWPN.
NPV
NPV is short for N Port Virtualization.  With NPV there is a new port type called an NP Port.  The NP Port connects to F Ports and appears as a NPIV enabled host to the F Port on the other end. Upside is that you can add switches to a fabric without having to assign new Domain IDs. NPV makes a switch appear as a host to the core Fibre Channel switch which reduces the number of domain IDs needed.

FCoE

Example of a Nexus 5000 FCoE configuration below:

feature fcoe
feature npiv

! the fcoe command maps the vlan to the vsan. 
vlan 10
  fcoe vsan 10

! create a vsan and assign it a name
vsan database
  vsan 10 name 'test'

! this database allows the distribution of all of the pWWN (port world wide node) names to a user friendly name.
device-alias name DISK-300GB-1 pwwn 20:01:00:25:b5:03:03:bf


! the vfc interfaces are the virtual FCs which allow an ethernet to carry FC too
interface vfc17
  bind interface Ethernet1/17
   no shutdown

! assign the appropriate VSAN to a vfc
vsan database
  vsan 10 interface vfc17

! Zones allow access control between storage devices
! this section creates members and places them into zones
! Full Zone Database Section for vsan 10
zone name TEST-ZONE vsan 10
    member pwwn 50:0a:09:81:99:2b:84:df

! this section assigns the zones to a zoneset (a superset of the zones)
zoneset name TEST-ZONESET vsan 10
    member TEST-ZONE
   
! make the zone active
zoneset activate name TEST-ZONESET vsan10