Send feedback to nx5000-docfeedback@cisco.com
1-7
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01
Chapter 1      Configuring and Managing Zones
Configuring Zones
Configuring Zones
To configure a zone and assign a zone name, perform this task:
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.
Command Purpose
Step 1
switch# configuration terminal
Enters configuration mode.
Step 2
switch(config)# zone name zone-name vsan vsan-id
switch(config-zone)#
Configures a zone in the 
specified VSAN.
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 pwwn-id
Fabric pWWN example:
switch(config-zone)# member fwwn fwwn-id 
FC ID example:
switch(config-zone)# member fcid fcid
FC alias example:
switch(config-zone)# member fcalias Payroll
Domain ID example:
switch(config-zone)# member domain-id domain-id portnumber 
number
Local sWWN interface examples:
switch(config-zone)# member interface type slot/port
Remote sWWN interface example:
switch(config-zone)# member interface type slot/port swwn 
swwn-id 
Domain ID interface example:
switch(config-zone)# member interface fc slot/port 
domain-id domain-id 
Configures a member for the 
specified zone based on the type 
(pWWN, fabric pWWN, FC ID, 
fcalias, domain ID, or interface) 
and value specified. 
Caution You must only 
configure 
pWWN-type zoning 
on all SAN switches 
running Cisco 
NX-OS if there is a 
Cisco MDS 9020 
switch running 
FabricWare in the 
same fabric.
Tip Use a relevant display command (for example, show interface or show flogi database) to 
obtain the required value in hex format.