HP StorageWorks Fabric OS 5.3.x administrator guide (5697-0244, November 2009)

Fabric OS 5.3.0 administrator guide 167
How to show an Admin Domain
1. Connect to the switch and log in as any user type.
2. Enter the ad --show command.
If you are in the AD0 context, you can use the -i option to display the implicit membership list of AD0;
otherwise, only the explicit membership list is displayed.
ad --show -i
If you are in the AD255 context, all Admin Domain configuration from the transaction buffer, defined
configuration, and effective configuration is displayed, unless you use the -m option:
ad --show ad_id -m mode
where
ad_id
is the Admin Domain for which you want to display information and
mode
is one of the
following:
0 to display the Admin Domain configuration in the current transaction buffer.
1 to display the Admin Domain configuration stored in the persistent memory (defined
configuration).
2 to display the currently enforced Admin Domain configuration (effective configuration).
The following example displays membership information about AD1.
Switching to a different Admin Domain context
The ad --select option is used to switch between different Admin Domain contexts. This option creates
a new shell with a new Admin Domain context. If the corresponding Admin Domain is not yet activated,
the select option: fails.
How to switch to a new Admin Domain context
1. Connect to the switch and log in as any user type.
2. Enter the ad --select command and the Admin Domain you want to switch to.
3. To leave the new Admin Domain context, exit from the shell.
You cannot switch to another Admin Domain context from within the shell created by ad --select.
You must first exit the shell and then issue the ad --select command again.
The following example switches to the AD12 context. Note that the prompt changes to display the
Admin Domain.
Performing zone validation
If you are working with zones, you should be aware that there is an Admin Domain impact. Zone objects
can be part of an Admin Domain. You can use the zone --validate command to list all zone members
sw5:AD1:admin> ad --show
Current AD Number: 1 AD Name: TheSwitches
Effective configuration:
------------------------
AD Number: 1 AD Name: TheSwitches State: Active
Switch WWN members: 50:06:06:99:00:2a:e9:01;
50:00:51:e0:23:36:f9:01;
50:06:06:98:05:be:99:01;
sw5:admin> ad --select 12
sw5:AD12:admin>