HP 8/20q HP StorageWorks 8/20q Fibre Channel Switch Command Line Interface Gui - Page 78
Resetting the zoning database, Deleting inactive zonesets, zones, and aliases, Managing zonesets
View all HP 8/20q manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 78 highlights
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 "Activating a zoneset" (page 79) and "Deactivating a zoneset" (page 79) require an Admin session and a Zoning Edit session. 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