Resetting the zoning database
There are two ways to remove all aliases, zones, and zonesets from the zoning database:
•
Enter the reset zoning command, as shown in the following example. This is the preferred method.
8/20q FC Switch #> admin start
8/20q FC Switch (admin) #> reset zoning
The zoning configuration parameters, MergeAutoSave, DefaultZone, and DiscardInactive
remain unchanged.
•
Enter the zoning clear command, as shown in the following example:
8/20q FC Switch #> admin start
8/20q FC Switch (admin) #> zoning edit
8/20q FC Switch (admin-zoning) #> zoning clear
8/20q FC Switch (admin-zoning) #> zoning save
Deleting inactive zonesets, zones, and aliases
To delete all objects from the zoning database except those in the active zoneset, enter the
zoning delete orphans command.
8/20q FC Switch #> admin start
8/20q FC Switch (admin) #> zoning delete orphans
This command will remove all zonesets, zones, and aliases
that are not currently active.
Please confirm (y/n): [n] y
8/20q FC Switch (admin) #> zoning save
Managing zonesets
This sub-section describes the zoneset management tasks. All of these tasks except
(page 79) and
Creating a zoneset
To create a new zoneset, enter the zoneset create command, as shown in the following example:
8/20q FC Switch #> admin start
8/20q FC Switch (admin) #> zoning edit
8/20q FC Switch (admin-zoning) #> zoneset create zoneset_1
8/20q FC Switch (admin-zoning) #>zoning save
Deleting a zoneset
To delete a zoneset, enter the zoneset delete command, as shown in the following example:
8/20q FC Switch #> admin start
8/20q FC Switch (admin) #> zoning edit
8/20q FC Switch (admin-zoning) #> zoneset delete zoneset_1
8/20q FC Switch (admin-zoning) #>zoning save
Renaming a zoneset
To rename a zoneset, enter the zoneset rename command, as shown in the following example:
8/20q FC Switch #> admin start
8/20q FC Switch (admin) #> zoning edit
8/20q FC Switch (admin-zoning) #> zoneset rename zoneset_old zoneset_new
8/20q FC Switch (admin-zoning) #>zoning save
78
Zoning Configuration
"Deactivating a
zoneset" (page 79) require an Admin session and a Zoning Edit session.
"Activating a
zoneset"