HP StorageWorks Fabric OS 5.X Command Reference Guide (AA-RVHVB-TE, September 2005)

Table Of Contents
Fabric OS 5.x command reference guide 83
Creates a zone configuration.
Synopsis
cfgcreate cfgName, member; member
Availability
admin
NOTE: This command requires HP Advanced Zoning, which is included within the Base Configuration
Services and bundled with each B-series switch.
Description
Use this command to create a new zone configuration.
A zone configuration name must begin with a letter that can be followed by any number of letters,
numbers, and underscores. Names are case sensitive: for example, “Cfg_1” and “cfg_1” are different
zone configurations. Blank spaces are ignored.
The zone configuration member list must have at least one member. Empty member lists are not allowed.
This command changes the defined configuration. For the change to be preserved across switch reboots, it
must be saved to flash memory using the cfgSave command. For the change to become effective, an
appropriate zone configuration must be enabled using the cfgEnable command.
See the zoneCreate command for more information on name and member specifications.
NOTE: When security is enabled, this command can be issued only from the primary FCS switch.
Operands
This command has the following required operands:
Examples
To create a configuration containing three zones:
cfgCreate
cfgName Specify a name for the zone configuration, in quotation marks.
member Specify a zone member or list of zone members to be added to
the configuration, in quotation marks and separated by
semicolons. Members can be specified in one or more of the
following ways:
Zone names
QuickLoop names
FA (Fabric Assist) zone names
switch:admin> cfgcreate "USA_cfg", "Red_zone; Blue_zone; Green_zone"