VSAN and Zoning Notes

Some VSAN and Zoning notes so that I can keep some of the concepts that will likely be in the lab straight.


Device-alias mode

Basic - Expands to use the pWWN
Enhanced - Uses the native format and does not expand to the pWWN.  It uses the alias instead of the pWWN.

Dynamic Port VSAN Membership  

You can tie a device-alias, NWWN or PWWN to a VSAN irrespective of the interface that it is connected to.

Step 1 - Enable DPVM
MDS-1(config)# dpvm enable


Step 2 - If using device-alias, the device alias must be enhanced for DPVM
MDS-1(config)# device-alias mode enhanced
MDS-1(config)# device-alias commit
 
Step 3 - Configure the database
MDS-1(config)# dpvm database
MDS-1(config-dpvm-db)# device-alias JBOD1-D1 vsan 10
Successful. Commit should follow for command to take effect.
MDS-1(config)# dpvm commit

Zoning

  • When you activate a zone (from any switch), all switches in the fabric receive the active zone set.
  • Hard zoning cannot be disabled
  • Only the active zone sets are distributed
  • Active zone sets cannot be changed, without activating a full zone database.
  • Each VSAN can have multiple zone sets but only one zone set can be active at any given time.
  • When you create a zone set, that zone set becomes a part of the full zone set. 
  • When you activate a zone set, a copy of the zone set from the full zone set is used to enforce zoning, and is called the active zone set. An active zone set cannot be modified. A zone that is part of an active zone set is called an active zone.
  • The administrator can modify the full zone set even if a zone set with the same name is active.
    However, the modification will be enforced only upon reactivation.
Zone Set Distribution

Zone sets can be distributed to all switches in a fabric on a per VSAN basis.  This occurs when a new E port is added or when a new zone set is activated in a VSAN.

MDS-2(config)# zoneset distribute full vsan 10

To do a one time zoneset distribution:
MDS-2# zoneset distribute vsan 10

Enhanced Zoning

  • All configuration of the fabric is done form a single configuration session
  • The default zone is enforced throughout the fabric
MDS-2(config)# zone mode enhanced vsan 10


Modifying the zone database
MDS-2(config)# zone commit vsan 10