HP StorageWorks 8/20q HP StorageWorks 8/20q Fibre Channel Switch Command Line - Page 82
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 82 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 82 • Deleting a zone set, page 82 • Renaming a zone set, page 83 • Copying a zone set, page 83 • Adding zones to a zone set, page 83 • Removing zones from a zone set, page 83 • Activating a zone set, page 83 • Deactivating a zone set, page 83 All of these tasks except "Activating a zone set" on page 83 and "Deactivating a zone set" on page 83 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 82 Zoning configuration