Fabric OS Administrator’s Guide 357
53-1001763-02
SAN management with Admin Domains 15
Each Admin Domain can also have its own zone configurations (defined and effective) with zones
and aliases under them.

CLI commands in an AD context

The CLI command input arguments are validated against the AD member list; they do not work with
input arguments that specify resources that are not members of the current Admin Domain. All
commands present filtered output, showing only the members of the current Admin Domain.
For example, switchShow displays details for the list of AD members present in that switch. Note
the following about the switchShow output:
Because all E_Ports and EX_Ports are shared across all Admin Domains, they are shown under
all Admin Domains.
Other ports are displayed without any attribute details (with an explanation that they are not
part of the current Admin Domain).
A port or device appears in CLI command output or other management tool outputs if any one of
the conditions listed in Table 74 is met.
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

You can execute a command in an Admin Domain that is different from your current AD context.
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.
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"
Example
The following example executes the switchShow command in the AD7 context.
switch:AD255:admin> ad --exec 7 "switchshow"
TABLE 74 Ports and devices in CLI output
For Condition
domain,index The port is specified in the domain,index member list of the Admin Domain.
One or more WWNs specified in the AD member list is attached to the domain,index.
Device WWN The device WWN is specified in the AD WWN member list.
The device WWN is attached to one of the domain,index specified in the AD member list.