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

162 Managing administrative domains
How you end the transaction determines the disposition of the Admin Domain configuration in the
transaction buffer. The following commands end the Admin Domain transaction:
You can issue the ad
--transshow command at any time to display the ID of the current Admin Domain
transaction.
Detailed information about CLI syntax and options is available in the Fabric OS Command Reference.
Setting the default zone mode
To begin implementing an Admin Domain structure within your SAN, you must first set the default zone
mode to No Access. You must be in AD0 to change the default zone mode.
To set the default zone mode:
1. Log in to an AD-aware switch in the fabric with the appropriate RBAC role.
2. Ensure you are in the AD0 context by issuing the ad --show command to determine the current
Admin Domain.
If necessary, switch to the AD0 context by issuing the ad
--select 0 command.
3. Issue the defZone
--noAccess command, and respond to the prompt with y.
4. Issue the cfgSave command.
sw5:admin> defzone --noaccess
You are about to set the Default Zone access mode to No Access
Do you want to set the Default Zone access mode to No Access ? (yes, y, no, n):
[no] y
sw5: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 ...
sw5:admin>
Creating an Admin Domain
To create an Admin Domain, you must specify an Admin Domain name, number, or both.
If you create an Admin Domain using only a number, the Admin Domain name is automatically
assigned to be ADn, where n is the number you specified.
For example, if you specify AD number = 4, AD name is set to AD4.
If you create an Admin Domain using only a name, the Admin Domain number is automatically
assigned and is the lowest available AD number, except if you specify a name in the format ADn, in
which case the Admin Domain number is assigned to be n.
For example, if you specify AD name = blueAD and the lowest available AD number is 5, AD name
is blueAD and AD number is 5.
ad
--save Saves the changes in the transaction buffer to the defined configuration in
persistent storage and propagates the defined configuration to all switches
in the fabric. Note that for delete and clear operations, if one or more
of the deleted Admin Domains are in the effective configuration, you
cannot use
--save, but must use --apply instead.
ad
--apply Saves the changes to the defined configuration in persistent storage and
enforces the defined configuration on all switches in the fabric, replacing
the effective configuration.
ad
--transabort Aborts the transaction and clears the transaction buffer. The effective and
defined configurations remain unchanged.