
166 Managing administrative domains
A port or device appears in CLI command output or other management tool outputs if any one of the
conditions listed in is met, see
Table 47
.
RASlog and SYSlog output is not filtered based on AD membership.
See the
Fabric OS Command Reference Manual
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 to which 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 out of the shell.
How 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.
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.
Table 47
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.
sw5:AD255:admin>
ad --exec 7 "switchshow"
Summary of Contents for AA979A - StorageWorks SAN Switch 2/8V
Page 1: ...HP StorageWorks Fabric OS 5 3 x administrator guide Part number 5697 0244 November 2009 ...
Page 16: ...16 ...
Page 20: ...18 ...
Page 24: ...24 Introducing Fabric OS CLI procedures ...
Page 116: ...118 Maintaining configurations ...
Page 170: ...172 Managing administrative domains ...
Page 200: ...202 Installing and maintaining firmware ...
Page 222: ...224 Routing traffic ...
Page 274: ...286 Administering FICON fabrics ...
Page 294: ...306 Working with diagnostic features ...
Page 350: ...362 Administering Extended Fabrics ...
Page 438: ...440 Configuring the PID format ...
Page 444: ...446 Configuring McData Open Fabric mode ...
Page 450: ...452 Understanding legacy password behaviour ...