352 Fabric OS Administrator’s Guide
53-1001763-02
Admin Domain management for physical fabric administrators
15

Deleting all user-defined Admin Domains

When you clear the Admin Domain configuration, all user-defined Admin Domains are deleted, the
explicit membership list of AD0 is cleared, and all fabric resources (switches, ports, and devices)
are returned to the implicit membership list of AD0.
You cannot clear the Admin Domain configuration if zone configurations exist in any of the
user-defined Admin Domains.
If you want to remove all Admin Domains while retaining device connectivity (for example, if you
want to enable Virtual Fabrics), use the procedure described in “Deleting all user-defined Admin
Domains non-disruptively.”
1. Clear all individual AD zone databases, in separate transactions, before proceeding with this
operation. See “Clearing all zone configurations” on page 258 for instructions.
2. Connect to the switch and log in as admin.
3. Switch to the AD255 context, if you are not already in that context.
ad --select 255
4. Enter the ad --clear command.
This option prompts you for confirmation before triggering the deletion of all Admin Domains.
5. Enter the ad --apply command to save the Admin Domain definition and directly apply the
definitions to the fabric.
Example
switch:AD255:admin> ad --clear
You are about to delete all ADs definitions.
This operations will fail if zone configurations exists in AD1-AD254
Do you want to clear all admin domains (yes, y, no, n): [no] y
switch:AD255:admin>

Deleting all user-defined Admin Domains non-disruptively

To disable Admin Domains non-disruptively, you must do the following before you clear the
user-defined ADs:
Create and activate zone configurations in AD0 that are equivalent to the zone configurations
in each of the user-defined ADs
Define all of the members that are currently in user-defined ADs in AD0.
This will ensure that the devices are still able to communicate even when they are removed from
the user-defined ADs.
You can use this procedure to remove all Admin Domains before enabling Virtual Fabrics.
1. Connect to the switch and log in as admin.
2. Enter the cfgshow command in the AD255 context to display the zone configurations for all
Admin Domains.
ad --exec 255 "cfgshow"
3. Enter the zone --copy command to copy the zones from all user-defined Admin Domains to
AD0.
zone --copy source_AD.source_name dest_name