Cisco Nexus 5000 Series Switch CLI Software Configuration Guide, NX-OS 4.0(1a)N1 (OL-16597-01, January 2009)

Send feedback to nx5000-docfeedback@cisco.com
38-7
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01
Chapter 38 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.
The following examples show how to configure zone members:
switch(config)# zone name MyZone vsan 2
pWWN example:
switch(config-zone)# member pwwn 10:00:00:23:45:67:89:ab
Command Purpose
Step 1
switch# configuration terminal
Enters configuration mode.
Step 2
switch(config)# zone name zone-name vsan
vsan-id
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
Configures a member for the specified zone based on
the type (pWWN, fabric pWWN, FC ID, fcalias,
domain ID, or interface) and value specified. See
Table 38-1 for details.
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.
Table 38-1 Type and Value Syntax for the member Command
Domain ID
member domain-id domain-id portnumber number
FC alias
member fcalias fc-alias-name
FC ID
member fcid fcid
Fabric pWWN
member fwwn fwwn-id
Local sWWN interface
member interface type slot/port
Domain ID interface
member interface type slot/port domain-id domain-id
Remote sWWN interface
member interface type slot/port swwn swwn-id
pWWN
member pwwn pwwn-id