HP StorageWorks Fabric OS 6.x administrator guide (5697-7344, March 2008)

398 Administering Advanced Zoning
Creating and managing zone aliases
A zone alias is a logical group of ports or WWNs. You can simplify the process of creating zones by first
specifying aliases, which eliminates the need for long lists of individual zone member names.
If you are creating a new alias using aliCreate w, “1,1, and a user in another Telnet session executes
cfgEnable (or cfgDisable, or cfgSave), the other user’s transaction will abort your transaction and
you will receive an error message. Creating a new alias while there is a zone merge taking place might
also abort your transaction. For more details about zone merging and zone merge conflicts, see ”Adding a
new switch or fabric” on page 414.
To create an alias:
1. Connect to the switch and log in as admin.
2. Enter the aliCreate command, using the following syntax:
alicreate "aliasname", "member[; member...]"
The values represent the following:
3. Enter the cfgSave command to save the change to the defined configuration.
switch:admin> alicreate "array1", "2,32; 2,33; 2,34; 4,4"
switch:admin> alicreate "array2", "21:00:00:20:37:0c:66:23; 4,3"
switch:admin> alicreate "loop1", "4,6"
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
To add members to an alias:
1. Connect to the switch and log in as admin.
2. Enter the aliAdd command, using the following syntax:
aliadd "aliasname", "member[; member...]"
The values represent the following:
3. Enter the cfgSave command to save the change to the defined configuration.
switch:admin> aliadd "array1", "1,2"
switch:admin> aliadd "array2", "21:00:00:20:37:0c:72:51"
switch:admin> aliadd "loop1", "5,6"
switch:admin> cfgsave
aliasname The name of the zone alias to be created.
member A member or list of members to be added to the alias. An alias member
can be specified by one or more of the following methods:
A domain,port pair.
Device node or device port WWN
aliasname The name of the zone alias.
member A member or list of members to be added to the alias. An alias member
can be specified by one or more of the following methods:
A domain,port pair.
Device node or device port WWN