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

Fabric OS 6.x administrator guide 159
RASLog and SYSlog output is not filtered based on AD membership.
See the Fabric OS Command Reference for more detailed information about command syntax and usage
and to understand how existing commands behave in an AD context.
Executing a command in a different AD context
The ad --exec option executes a command in a different Admin Domain. The Admin Domain must be
one that you can access. This option creates a new shell with the current user_id, switches to the specified
Admin Domain, performs the specified command, and exits the shell.
To execute a command in a different Admin Domain context:
1. Connect to the switch and log in.
2. Enter the ad
--exec command, specifying the Admin Domain and the command you want to execute.
ad --exec ad_id "command"
The following example executes the switchShow command in the AD7 context.
sw5:AD255:admin> ad --exec 7 "switchshow"
Displaying an Admin Domain configuration
The ad --show option displays the membership information and zone database information of the
specified Admin Domain. Note the following differences in the information displayed based on the Admin
Domain:
AD255: if you do not specify the AD_name or number, all information about all existing Admin
Domains is displayed.
AD0-AD254 contexts: the membership of the current Admin Domain is displayed.
AD0: the device and switch list members are categorized into implicit and explicit member lists.
To show an Admin Domain:
1. Connect to the switch and log in as any user type.
2. Enter the ad
--show command.
ad --show
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).
Table 46 Ports and devices in CLI output
For Condition
domain,port
The port is specified in the domain,port member list of the Admin Domain.
One or more WWNs specified in the AD member list is attached to the
domain,port.
Device WWN
The device WWN is specified in the AD WWN member list.
The device WWN is attached to one of the domain,port specified in the AD
member list.