Configuring a Zone
You can configure a zone and assign a zone name.
Procedure
Purpose
Command or Action
Enters global configuration mode.
configure terminal
Example:
switch# configure terminal
switch(config)#
Step 1
Configures a zone in the specified VSAN.
zone name zone-name vsan vsan-id
Step 2
Example:
switch(config)# zone name test
vsan 5
All alphanumeric characters or one of the following
symbols ($, -, ^, _) are supported.
Note
Configures a member for the specified zone based on the type
(pWWN, fabric pWWN, FC ID, fcalias, domain ID, or
interface) and value specified.
member type value
Example:
switch(config-zone)# member
interface 4
Step 3
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.
Caution
Use a relevant display command (for example, the
show interface
or
show flogi database
commands)
to obtain the required value in hex format.
Tip
Configuration Examples
Use the
show wwn switch
command to retrieve the sWWN. If you do not provide a sWWN, the software
automatically uses the local sWWN.
Tip
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
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
Cisco Nexus 5500 Series NX-OS SAN Switching Configuration Guide, Release 7.x
OL-30895-01
133
Configuring and Managing Zones
Configuring a Zone