HP StorageWorks 8/20q HP StorageWorks 8/20q Fibre Channel Switch command line - Page 80
Resetting the zoning database, Deleting inactive zone sets, zones, and aliases, Managing zone sets
![]() |
View all HP StorageWorks 8/20q manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 80 highlights
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 set, page 80 • Deleting a zone set, page 80 • Renaming a zone set, page 81 • Copying a zone set, page 81 • Adding zones to a zone set, page 81 • Removing zones from a zone set, page 81 • Activating a zone set, page 81 • Deactivating a zone set, page 81 All of these tasks except "Activating a zone set" on page 81 and "Deactivating a zone set" on page 81 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
![](/manual_guide/products/hewlettpackard-ak241a-hp-storageworks-820q-fibre-channel-switch-command-line-interface-guide-56977517-2008-397a799/80.png)