> # Configuring a Zone for a Virtual Device

> After configuring a virtual device, you must create a zone that includes all the other real devices and the virtual device as members, and add this zone to a zone set, which you can activate. You can add the virtual device to the zone using the configured name and member type as the device alias.

> Note This configuration process does not support interoperability. If you are working in interop-VSANs, we recommend that you configure the zone directly using the system-assigned pWWN of the virtual device.

> Set the device alias mode to enhanced when using SDV (because the pWWN of a virtual device could change).

> ##
> Examples

> SDV is enabled on a switch and a virtual device is defined. SDV assigns a pWWN for the virtual device, and it is zoned based on the pWWN in a zone. If you later disable SDV, this configuration is lost. If you reenable SDV and create the virtual device using the same name, there is no guarantee that it will get the same pWWN again. You would have to rezone the pWWN-based zone. However, if you perform zoning based on the device-alias name, there are no configuration changes required if or when the pWWN changes.
> Be sure you understand how device alias modes work before enabling them. Refer to "Distributing Device Alias Services" for details and requirements about device alias modes.

> Copyright 2010-2015, Cisco Systems, Inc. All rights reserved.