To create a zone, use the 
                                 			 zone 
                                 			 name  command 
                                 			 in 
                                 			 configuration 
                                 			 mode.  Use the 
                              		  no  form of the command to negate the command
                              		  or revert to the factory defaults. 
                              		
                           
 
                           	 
                        
                         
                           		
                           zone name zone-name vsan vsan-id attribute  {broadcast | smart-zoning | qos priority  {high | low | medium} | read-only} attribute-group group-name member  {device-alias alias-name  [lun lun-id] | domain-id domain-id port-number port-number | fcalias name | fcid fcid-value  [lun lun-id] | fwwn fwwn-id | interface fc slot /  port  [domain-id domain-id | swwn swwn-id] | ip-address ip-address  [subnet-mask]  | pwwn pwwn-id  [lun lun-id] | symbolic-nodename identifier member  {device-alias alias-name  [lun lun-id] | domain-id domain-id port-number port-number | fcalias name | fcid fcid-value  [lun lun-id] | fwwn fwwn-id | interface fc slot /  port  [domain-id domain-id | swwn swwn-id] | ip-address ip-address  [subnet-mask]  | pwwn pwwn-id  [lun lun-id] | symbolic-nodename identifier}} 
                           
                           no zone name zone-name vsan vsan-id attribute  {broadcast | smart-zoning | qos priority  {high | low | medium} | read-only} attribute-group group-name member  {device-alias alias-name  [lun lun-id] | domain-id domain-id port-number port-number | fcalias name | fcid fcid-value  [lun lun-id] | fwwn fwwn-id | interface fc slot /  port  [domain-id domain-id | swwn swwn-id] | ip-address ip-address  [subnet-mask]  | pwwn pwwn-id  [lun lun-id] | symbolic-nodename identifier member  {device-alias alias-name  [lun lun-id] | domain-id domain-id port-number port-number | fcalias name | fcid fcid-value  [lun lun-id] | fwwn fwwn-id | interface fc slot /  port  [domain-id domain-id | swwn swwn-id] | ip-address ip-address  [subnet-mask]  | pwwn pwwn-id  [lun lun-id] | symbolic-nodename identifier}} 
                           
(explicit id )
                              interface  {bay port | ext port} 
                           
 
                           	 
                        
                        
                           Syntax Description
 
                           		
                           
                              
                              
                                 
                                 
                              
                              
                                 
                                    |  
                                       					 
                                        zone-name  
                                          					 
                                         
                                       				  
                                     | 
                                     
                                       					 
                                         Specifies the name of the zone. Maximum length is 64
                                          						characters. 
                                          					 
                                         
                                       				  
                                     | 
                                 
                                 
                                    |  
                                       					 
                                         vsan 
                                          						vsan-id  
                                          					 
                                         
                                       				  
                                     | 
                                     
                                       					 
                                         Specifies the VSAN ID. The range is 1 to 4093. 
                                          					 
                                         
                                       				  
                                     | 
                                 
                                 
                                    |  
                                       					 
                                        attribute 
                                             						  
                                          					 
                                         
                                       				  
                                     | 
                                     
                                       					 
                                         Sets zone attributes. 
                                          					 
                                         
                                       				  
                                     | 
                                 
                                 
                                    |  
                                       					 
                                        read-only 
                                             						  
                                          					 
                                         
                                       				  
                                     | 
                                     
                                       					 
                                         Sets read-only attribute for the zone (default is
                                          						read-write). 
                                          					 
                                         
                                       				  
                                     | 
                                 
                                 
                                    |  
                                       					 
                                         broadcast 
                                          					 
                                         
                                       				  
                                     | 
                                     
                                       					 
                                         Sets broadcast attribute for the zone. 
                                          					 
                                         
                                       				  
                                     | 
                                 
                                 
                                    |  
                                       					 
                                         smart-zoning 
                                          					 
                                         
                                       				  
                                     | 
                                     
                                       					 
                                         Sets the smart zoning for the zone. 
                                          					 
                                         
                                       				  
                                     | 
                                 
                                 
                                    |  
                                       					 
                                         qos priority {high 
                                             						 | 
                                          						low 
                                             						 | 
                                          						medium  
                                          					 
                                         
                                       				  
                                     | 
                                     
                                       					 
                                         Sets QoS attribute for the zone (default is low). 
                                          					 
                                         
                                       				  
                                     | 
                                 
                                 
                                    |  
                                       					 
                                        attribute-group 
                                             						 group-name  
                                          					 
                                         
                                       				  
                                     | 
                                     
                                       					 
                                         Configures an attribute group. Maximum length is 64
                                          						characters. 
                                          					 
                                         
                                       				  
                                     | 
                                 
                                 
                                    |  
                                       					 
                                        member  
                                          					 
                                         
                                       				  
                                     | 
                                     
                                       					 
                                         Adds a member to a zone. 
                                          					 
                                         
                                       				  
                                     | 
                                 
                                 
                                    |  
                                       					 
                                         device-alias 
                                          						alias-name  
                                          					 
                                         
                                       				  
                                     | 
                                     
                                       					 
                                         Adds a member using the device alias name. 
                                          					 
                                         
                                       				  
                                     | 
                                 
                                 
                                    |  
                                       					 
                                        lun 
                                             						 lun-id  
                                          					 
                                         
                                       				  
                                     | 
                                     
                                       					 
                                         Specifies the LUN number in hexadecimal format. 
                                          					 
                                         
                                       				  
                                     | 
                                 
                                 
                                    |  
                                       					 
                                        domain-id 
                                             						 domain-id 
                                             						  
                                             						  
                                          					 
                                         
                                       				  
                                     | 
                                     
                                       					 
                                         Adds a member using the domain ID. 
                                          					 
                                         
                                       				  
                                     | 
                                 
                                 
                                    |  
                                       					 
                                        port-number 
                                             						 port-number  
                                          					 
                                         
                                       				  
                                     | 
                                     
                                       					 
                                         Adds a member using the port number of the domain ID
                                          						portnumber association. 
                                          					 
                                         
                                       				  
                                     | 
                                 
                                 
                                    |  
                                       					 
                                        fcalias 
                                             						 name  
                                          					 
                                         
                                       				  
                                     | 
                                     
                                       					 
                                         Adds a member using the fcalias name. 
                                          					 
                                         
                                       				  
                                     | 
                                 
                                 
                                    |  
                                       					 
                                        fcid 
                                             						  fcid-id  
                                          					 
                                         
                                       				  
                                     | 
                                     
                                       					 
                                         Adds a member using the FCID member in the format 
                                          						0 x hhhhhh .
                                          						
                                          					 
                                         
                                       				  
                                     | 
                                 
                                 
                                    |  
                                       					 
                                        fwwn 
                                             						  fwwn-id  
                                          					 
                                         
                                       				  
                                     | 
                                     
                                       					 
                                         Adds a member using the fabric port WWN in the format 
                                          						hh : hh : hh : hh : hh : hh : hh : hh .
                                          						
                                          					 
                                         
                                       				  
                                     | 
                                 
                                 
                                    |  
                                       					 
                                         interface fc 
                                          						slot / port
                                             						  
                                             						  
                                          					 
                                         
                                       				  
                                     | 
                                     
                                       					 
                                         Adds a member using the Fibre Channel interface to a Cisco
                                          						MDS 9000 Family switch. 
                                          					 
                                         
                                       				  
                                     | 
                                 
                                 
                                    |  
                                       					 
                                        interface 
                                             						  bay 
                                             						  | 
                                             						  ext  port 
                                          					 
                                         
                                       				  
                                     | 
                                     
                                       					 
                                         Adds a member using the Fibre Channel interface to a Cisco
                                          						Fabric Switch for HP c-Class BladeSystem or to a Cisco Fabric Switch for IBM
                                          						BladeCenter . The range is 0 to 48. 
                                          					 
                                         
                                       				  
                                     | 
                                 
                                 
                                    |  
                                       					 
                                         swwn 
                                          						swwn-id  
                                          					 
                                         
                                       				  
                                     | 
                                     
                                       					 
                                         (Optional) Specifies the switch WWN in the format 
                                          						hh : hh : hh : hh : hh : hh : hh : hh .
                                          						
                                          					 
                                         
                                       				  
                                     | 
                                 
                                 
                                    |  
                                       					 
                                         ip-address ip-address 
                                          					 
                                         
                                       				  
                                     | 
                                     
                                       					 
                                         Adds a member using the IP address. 
                                          					 
                                         
                                       				  
                                     | 
                                 
                                 
                                    |  
                                       					 
                                         subnet-mask 
                                          					 
                                         
                                       				  
                                     | 
                                     
                                       					 
                                         (Optional) Specifies an optional subnet mask. 
                                          					 
                                         
                                       				  
                                     | 
                                 
                                 
                                    |  
                                       					 
                                        pwwn 
                                             						  pwwn-id  
                                          					 
                                         
                                       				  
                                     | 
                                     
                                       					 
                                         Adds a member using the port WWN in the format 
                                          						hh : hh : hh : hh : hh : hh : hh : hh .
                                          						
                                          					 
                                         
                                       				  
                                     | 
                                 
                                 
                                    |  
                                       					 
                                        symbolic-nodename 
                                             						 identifier  
                                          					 
                                         
                                       				  
                                     | 
                                     
                                       					 
                                         Adds a member using the symbolic node name in the form of a
                                          						name or an IP address. 
                                          					 
                                         
                                       				  
                                     | 
                                 
                              
                           
 
                           	 
                        
                        
                           Command Default
 
                           		
                            Zone attribute is read-only. 
                              		
                           
 
                           	 
                        
                        
                           Command Modes
 
                           		
                           
Configuration mode.
                           
 
                           	 
                        
                         
                           		
                           Command History
                           
                              
                              
                                 
                                 
                              
                              
                                 
                                    |  
                                       					 
                                         Release 
                                          					 
                                         
                                       				  
                                     | 
                                     
                                       					 
                                         Modification 
                                          					 
                                         
                                       				  
                                     | 
                                 
                              
                              
                                 
                                    |  
                                       					 
                                         1.0(2) 
                                          					 
                                         
                                       				  
                                     | 
                                     
                                       					 
                                         This command was introduced. 
                                          					 
                                         
                                       				  
                                     | 
                                 
                                 
                                    |  
                                       					 
                                         1.2(1) 
                                          					 
                                         
                                       				  
                                     | 
                                     
                                       					 
                                         Added the 
                                          						attribute , 
                                          						interface , and 
                                          						lun  subcommands. 
                                          					 
                                         
                                       				  
                                     | 
                                 
                                 
                                    |  
                                       					 
                                         2.0(x) 
                                          					 
                                         
                                       				  
                                     | 
                                     
                                       					 
                                       
                                          -  Added the 
                                             						  broadcast  and 
                                             						  qos 
                                                							 priority 
                                                						   options to the 
                                             						  attribute  subcommand. 
                                             						
                                          
 
                                          -  Added the 
                                             						  attribute-group 
                                                						   subcommand. 
                                             						
                                          
 
                                          -  Added the 
                                             						  device-alias 
                                                						   aliasname 
                                                						   [ lun 
                                                							 lun-id ] option to the 
                                             						  member 
                                                						   subcommand. 
                                             						
                                          
 
                                         
                                       				  
                                     | 
                                 
                                 
                                    |  
                                       					 
                                         3.1(2) 
                                          					 
                                         
                                       				  
                                     | 
                                     
                                       					 
                                         Added the 
                                          						interface 
                                             						  bay 
                                             						  | 
                                             						  ext  option to the 
                                          						member  subcommand. 
                                          					 
                                         
                                       				  
                                     | 
                                 
                                 
                                    |  
                                       					 
                                         5.2(6) 
                                          					 
                                         
                                       				  
                                     | 
                                     
                                       					 
                                         Added the smart-zoning keyword to the syntax description. 
                                          					 
                                         
                                       				  
                                     | 
                                 
                              
                           
 
                           	 
                        
                        
                           Usage Guidelines
 
                           		
                            Zones are assigned to zone sets, zone sets are then activated from
                              		  one switch and propagate across the fabric to all switches. Zones allow
                              		  security by permitting and denying access between nodes (hosts and storage). 
                              		  zone 
                                 			 name  commands are issued from the configuration
                              		  mode. Configure a zone for a VSAN from the config-zone submode. 
                              		
                           
 
                           		
                            Use the 
                              		  show 
                                 			 wwn 
                                 			 switch  command to retrieve the sWWN. If you do not
                              		  provide a sWWN, the software automatically uses the local sWWN. 
                              		
                           
 
                           		
                            Broadcast frames are sent to all Nx ports. 
                              		
                           
 
                           		
                            If any NL port attached to an FL port shares a broadcast zone with
                              		  the source of the broadcast frame, 
                              		
                           
 
                           		
                            The frames then are broadcast to all devices in the loop. 
                              		
                           
 
                           	 
                        
                        
                           Examples
 
                           		
                            The following example configures attributes for the specified zone
                              		  (Zone1) based on the member type (pWWN, fabric pWWN, FCID, or FC alias) and
                              		  value specified: 
                              		
                           
 
                           		
switch# config terminal
switch(config)# zone name Zone1 vsan 10
 
                           		 switch(config-zone)# 
                              		  attribute 
                                 			 broadcast  
                              		
                           
 
                           		
                            switch(config-zone)# 
                              		  attribute 
                                 			 read-only  
                              		
                           
 
                           		
                            The following example configures members for the specified zone
                              		  (Zone2) based on the member type (pWWN, fabric pWWN, FCID, or FC alias) and
                              		  value specified: 
                              		
                           
 
                           		
switch# config terminal
switch(config)# zone name Zone2 vsan 10
 
                           		 switch(config-zone)# 
                              		  attribute 
                                 			 broadcast  
                              		
                           
 
                           		
                            switch(config-zone)# 
                              		  attribute 
                                 			 read-only  
                              		
                           
 
                           		
                            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
FC alias example:
switch(config-zone)# member fcalias Payroll
Domain ID example:
switch(config-zone)# member domain-id 2 portnumber 23
FC alias example:
switch(config-zone)# member ipaddress 10.15.0.0 255.255.0.0
Local sWWN interface example:
switch(config-zone)# member interface fc 2/1
Remote sWWN interface example:
switch(config-zone)# member interface fc2/1 swwn 20:00:00:05:30:00:4a:de 
Domain ID interface example:
switch(config-zone)# member interface fc2/1 domain-id 25 
The following example shows how to remove the smart zoning configuration:
switch# config terminal
switch(config)# zone name Zone2 vsan 10
 
                           		 switch(config-zone)# no 
                              		  attribute 
                                 			 smart-zoning  
                              		
                           
 
                           		
                            switch(config-zone)#