Zone Member Configuration Guidelines
Zone Member Configuration Guidelines
features (no additional configuration is required): Zones are contained in a VSAN. Hard zoning cannot be disabled. Name server queries are soft-zoned. Only active zone sets are distributed. Unzoned devices cannot access each other. A zone or zone set with the same name can exist in each VSAN. Each VSAN has a full database and an active database. Active zone sets cannot be changed, without activating a full zone database. Active zone sets are preserved across switch reboots. Changes to the full database must be explicitly saved. Zone reactivation
The best practice is to avoid configuring large numbers of targets or large numbers of initiators in a single zone.a single initiator with a single target is the most efficient approach to 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. When the activation is done, the active zone set is automatically stored in persistent configuration. This enables the switch to preserve the active zone set information across switch resets. All other switches in the fabric receive the active zone set so they can enforce zoning in their respective switches. Hard and soft zoning are implemented using the active zone set. Modifications take effect during zone set activation. An FC ID or Nx port that is not part of the active zone set belongs to the default zone and the default zone information is not distributed to other switches.
Configuring a Zone
To configure a zone and assign a zone name, follow these steps: Tip Use the show wwn switch command to retrieve the sWWN. If you do not provide a sWWN, the software automatically uses the local sWWN. Note Interface-based zoning only works with Cisco MDS 9000 Family switches. Interface-based zoning does not work if interop mode is configured in that VSAN. Zone Sets Zones provide a mechanism for specifying access control, while zone sets are a grouping of zones to enforce access control in the fabric. Command Purpose Step 1 switch# config t Enters configuration mode. Step 2 switch(config)# zone name Zone1 vsan 3 switch(config-zone)# Configures a zone called Zone1 for the VSAN called vsan3.
Note All alphanumeric characters or one of the following symbols ($, -, ^, _) are supported. Step 3 switch(config-zone)# member type value pWWN example: switch(config-zone)# member pwwn 10:00:00:23:45:67:89:ab Fabric pWWN example: switch(config-zone)# member fwwn 10:01:10:01:10:ab:cd:ef FC ID example: switch(config-zone)# member fcid 0xce00d1
Creating FC Aliases Step 1 switch# config t Enters configuration mode. Step 2 switch(config)# fcalias name AliasSample vsan 3 switch(config-fcalias)# Step 3 switch(config-fcalias)# member type value pWWN example: switch(config-fcalias)# member pwwn 10:00:00:23:45:67:89:ab fWWN example: switch(config-fcalias)# member fwwn 10:01:10:01:10:ab:cd:ef FC ID example: switch(config-fcalias)# member fcid 0x222222
create the zone and a zone set. Step 3 switch(config-zoneset)# member Zone1 Step 4 switch(config-zoneset)# zone name InlineZone1 switch(config-zoneset-zone)# Adds a zone (InlineZone1) to the specified zone set (Zoneset1). Tip Execute this step only if you need to create a zone from a zone set prompt. Step 5 switch(config-zoneset-zone)# member fcid 0x111112 switch(config-zoneset-zone)#
You do not have to issue the copy running-config startup-config command to store the active zone set. However, you need to issue the copy running-config startup-config command to explicitly store full zone sets. It is not available across switch resets.
All switches in the Cisco MDS 9000 Family distribute active zone sets when new E port links come up or when a new zone set is activated in a VSAN. The zone set distribution takes effect while sending merge requests to the adjacent switch or while activating a zone set.