Resetting the zoning database
There are two ways to remove all aliases, zones, and zone sets 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 zone sets, zones, and aliases
To delete all objects from the zoning database except those in the active zone set, 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 zone sets
Managing zone sets consists of the following tasks:
• Creating a zone
• Deleting a zone
• Renaming a zone
• Copying a zone
• Adding zones to a zone
• Removing zones from a zone
• Activating a zone
• Deactivating a zone
All of these tasks except
require an Admin session and a Zoning Edit session.
Creating a zone set
To create a new zone set, 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 zone set
To delete a zone set, 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
80
Zoning configuration
set, page 80
set, page 80
set, page 81
set, page 81
set, page 81
set, page 81
set, page 81
set, page 81
"Activating a zone
set" on page 81 and
"Deactivating a zone
set" on page 81