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

328 iSCSI gateway service
7. Enter the cfgSave command to save the change to the defined configuration:
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
8. Enter the zoneCreate command to create the zone. The following example illustrates the creation of a
zone by specifying the aliases for FC targets and iSCSI virtual initiators as members of the named zone.
switch:admin> zonecreate iscsi_zone001, "ISCSI_TARGETS;
ISCSI_VI_SWITCH1_SLOT3"
switch:admin>
where:
zonename The user-defined name for the created zone.
member_FCtarget_pWWNiSCSI FC targets specified by either WWNs and/or alias.
member_iscsi_pwwn iSCSI virtual initiators specified by either WWNs and/or alias.
9. Specify the zone members using WWNs, alias names, and/or switch domain and port area pair.
For more information about the zoneCreate command, see “About Zones” in the HP StorageWorks
Fabric OS 6.2.x administrator guide and the zoneCreate command in the Fabric OS Command
Reference.
10. Enter the cfgSave command to save the change to the defined configuration.
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
Zoning configuration creation
After creating one or more zones, you can add them to the zoning configuration database and enable the
zoning configuration.
For more information about creating and modifying zoning configurations, see “About Zones” in the HP
StorageWorks Fabric OS 6.2.x administrator guide and the zoneCreate command in the Fabric OS
Command Reference.
Creating and enabling a zoning configuration
1. Connect and log in to the switch as admin.
2. Enter the cfgCreate command to create a zoning configuration.
switch:admin> cfgcreate iscsi_cfg001, iscsi_zone001
switch:admin>
3. Enter the cfgSave command to save the change to the defined configuration.
switch:admin> cfgsave
You are about to save the Defined zoning configuration. This
action will only save the changes on 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
Updating flash ...
4. Enter the cfgEnable command.