Copying a zoneset
To copy a zoneset and its contents to a new zoneset, enter the zoneset copy 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 copy zoneset_1 zoneset_2
8/20q FC Switch (admin-zoning) #>zoning save
Adding zones to a zoneset
To add a zone to a zoneset, enter the zoneset add 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 add zoneset_1 zone_1 zone_2
8/20q FC Switch (admin-zoning) #>zoning save
Removing zones from a zoneset
To remove zones from a zoneset, enter the zoneset remove 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 remove zoneset_1 zone_1 zone_2
8/20q FC Switch (admin-zoning) #>zoning save
Activating a zoneset
To apply zoning to the fabric, enter the zoneset activate command, as shown in the following
example:
8/20q FC Switch #> admin start
8/20q FC Switch (admin) #> zoneset activate zoneset_1
Deactivating a zoneset
To deactivate the active zoneset and disable zoning in the fabric, enter the zoneset deactivate
command, as shown in the following example:
8/20q FC Switch #> admin start
8/20q FC Switch (admin) #> zoneset deactivate
Managing zones
This sub-section describes the zone management tasks. All of these tasks require an Admin session and a
Zoning Edit session.
Creating a zone
To create a new zone, enter the zone 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) #> zone create zone_1
8/20q FC Switch (admin-zoning) #> zoning save
Deleting a zone
To delete zone_1 from the zoning database, enter the zone 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) #> zone delete zone_1
8/20q FC Switch (admin-zoning) #> zoning save
HP StorageWorks 8/20q Fibre Channel Switch Command Line Interface Guide
79