HP StorageWorks Fabric OS 6.1.1 administrator guide (5697-0235, December 2009)

Fabric OS 6.1.1 administrator guide 167
4. Issue the appropriate command, based on whether you want to save or activate the Admin Domain
definition:
To save the Admin Domain definition, issue the ad --save command.
To save the Admin Domain definition and directly apply the definition to the fabric, issue the
ad --apply command.
The following example removes port 5 of domain 100 and port 3 of domain 1 from AD1.
sw5:AD255:admin> ad --remove 1 –d "100,5; 1,3"
The following example removes switch 100 from the membership list of AD4.
sw5:AD255:admin> ad --remove 4 –s "100"
Renaming an Admin Domain
Use this procedure if you want to change the name of an Admin Domain. You can also change
auto-assigned names (ADn).
To rename an Admin Domain:
1. Connect to the switch and log in as admin.
2. Switch to the AD255 context, if you are not already in that context.
ad --select 255
3. Issue the ad --rename command with the present name and the new name.
ad --rename present_name new_name
The rename operation does not take effect if the Admin Domain you want to rename is part of the
effective configuration and thus enforced.
4. Issue the appropriate command, based on whether you want to save or activate the Admin Domain
definition:
To save the Admin Domain definition, issue the ad --save command.
To save the Admin Domain definition and directly apply the definition to the fabric, issue the
ad --apply command.
The following example changes the name of Admin Domain Eng_AD to Eng_AD2.
sw5:AD255:admin> ad --rename Eng_AD Eng_AD2
Deleting an Admin Domain
When you delete an Admin Domain its devices no longer have access to the members of the zones with
which it was associated.
1. Connect to the switch and log in as admin.
2. Switch to the Admin Domain that you want to delete.
ad --select ad_id
3. Clear the zone database under the Admin Domain you want to delete.
4. Switch to the AD255 context.
ad --select 255
5. Issue the following command:
ad --delete ad_id
The ad --delete command prompts you for confirmation before triggering the deletion. The
command will succeed, whether the Admin Domain is in an activated or deactivated state.
cfgDisable
Remove the effective configuration.
cfgClear
Remove the defined configuration.
cfgSave
Save the changes to nonvolatile memory.