zone name (configuration mode)

To create a zone, use the zone name command. To negate the command or revert to the factory defaults, use the no form of this command.

zone name zone-name vsan vsan-id member

zone name zone-name vsan vsan-id no member

no zone name zone-name vsan vsan-id

Syntax Description

zone-name
Name of the zone. The name can be a maximum of 64 characters.
vsan vsan-id
Specifies the VSAN ID. The range is from 1 to 4093.

Command Default

None

Command Modes

Global configuration mode

Command History

Release
Modification
4.0(0)N1(1a)
This command was introduced.

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 entered from the configuration mode. Configure a zone for a VSAN from the config-zone mode.

Use the show wwn switch command to retrieve the switch world wide name (sWWN). If you do not provide an sWWN, the software automatically uses the local sWWN.

Examples

This example shows how to configure attributes for the specified zone (Zone1) based on the member type (pWWN, fabric pWWN, FCID, or Fibre Channel alias) and value specified:

switch(config)# zone name Zone1 vsan 10
switch(config-zone)# member device-alias device1
 

This example shows how to configure the members for the specified zone (Zone2) based on the member type (pWWN, fabric pWWN, FCID, or Fibre Channel alias) and value specified:

switch(config)# zone name Zone2 vsan 10
switch(config-zone)# member fcalias Payroll
switch(config-zone)# member domain-id 2 portnumber 23
 

Related Commands

Command
Description
show zone
Displays zone information.
zone rename
Renames zones.
zone-attribute-group name
Configures zone attribute groups.