HP StorageWorks Fabric OS 6.1.1 administrator guide (5697-0235, December 2009)

280 iSCSI Gateway services
7. Issue 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. Issue 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 is the user-defined name for the created zone.
member_FCtarget_pWWN is the iSCSI FC targets specified by either WWNs and/or alias.
mamber_iscsi_pwwn is the iSCSI virtual initiators specified by either WWNs and/or alias.
Specify the zone members using WWNs, alias names, and/or switch domain and port area pair. For
more information about the zoneCreate command, see the zoneCreate command in the Fabric OS
Command Reference.
9. Issue 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 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. Issue the cfgCreate command to create a zoning configuration:
switch:admin> cfgcreate iscsi_cfg001, iscsi_zone001
switch:admin>
3. Issue 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 ...