HP StorageWorks Fabric OS 6.2 administrator guide (5697-0016, May 2009)

Fabric OS 6.2 administrator guide 255
NOTE: For Fabric OS 5.3.0 and later, the minimum zoning database size is 4 bytes, even if the zoning
database is empty.
For important considerations for managing zoning in a fabric, and more details about the maximum zone
database size for each version of the Fabric OS, see ”Zoning database size and zone merging” on
page 251.
If you create or make changes to a zone configuration, you must enable the configuration for the changes
to take effect.
Creating a zoning configuration
1. Connect to the switch and log in as admin.
2. Enter the cfgCreate command, using the following syntax:
cfgcreate "cfgname", "member[; member...]"
The values represent the following:
3. Enter the cfgSave command to save the change to the defined configuration.
switch:admin> cfgcreate "NEW_cfg", "purplezone; bluezone; greenzone"
switch:admin> cfgsave
You are about to save the Defined zoning configuration. This
action will only save the changes on the Defined configuration.
Any changes made on the Effective configuration will not
take effect until it is re-enabled.
Do you want to save Defined zoning configuration only? (yes, y, no, n):
[no] y
The cfgSave command ends and commits the current zoning transaction buffer to both volatile and
nonvolatile memory. If a transaction is open on a different switch in the fabric when this command is
run, the transaction on the other switch is automatically aborted. A message is displayed on the other
switches to indicate that the transaction was aborted.
Adding zones (members) to a zoning configuration
1. Connect to the switch and log in as admin.
2. Enter the cfgAdd command, using the following syntax:
cfgadd "cfgname", "member[; member...]"
The values represent the following:
3. Enter the cfgSave command to save the change to the defined configuration:
switch:admin> cfgadd "newcfg", "bluezone"
switch:admin> cfgsave
You are about to save the Defined zoning configuration. This
action will only save the changes on the Defined configuration.
Any changes made on the Effective configuration will not
take effect until it is re-enabled.
Do you want to save Defined zoning configuration only? (yes, y, no, n):
[no] y
cfgname The name of the zone configuration to be created
member The zone name or list of zone names to be added to the configuration
cfgname The name of the zone configuration
member The zone name or list of zone names to be added to the configuration