Executing A Command In A Different Ad Context; How To Execute A Command In A Different Admin Domain Context; Displaying An Admin Domain Configuration - HP A7533A - Brocade 4Gb SAN Switch Base Administrator's Manual

Hp storageworks fabric os 5.3.x administrator guide (5697-0244, november 2009)
Hide thumbs Also See for A7533A - Brocade 4Gb SAN Switch Base:
Table of Contents

Advertisement

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
Ports and devices in CLI output
For
(domain, port)
Device WWN
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.
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.
166 Managing administrative domains
Table
47.
Condition
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).
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.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents