HP StorageWorks SN6000 Fibre Channel Switch Command Line Interface Guide 79
Copying a zone set
To copy a zone set and its contents to a new zone set, enter the zoneset copy command, as shown in
the following example:
SN6000 FC Switch #> admin start
SN6000 FC Switch (admin) #> zoning edit
SN6000 FC Switch (admin-zoning) #> zoneset copy zoneset_1 zoneset_2
SN6000 FC Switch (admin-zoning) #>zoning save
Adding zones to a zone set
To add a zone to a zone set, enter the zoneset add command, as shown in the following example:
SN6000 FC Switch #> admin start
SN6000 FC Switch (admin) #> zoning edit
SN6000 FC Switch (admin-zoning) #> zoneset add zoneset_1 zone_1 zone_2
SN6000 FC Switch (admin-zoning) #>zoning save
Removing zones from a zone set
To remove zones from a zone set, enter the zoneset remove command, as shown in the following
example:
SN6000 FC Switch #> admin start
SN6000 FC Switch (admin) #> zoning edit
SN6000 FC Switch (admin-zoning) #> zoneset remove zoneset_1 zone_1 zone_2
SN6000 FC Switch (admin-zoning) #>zoning save
Activating a zone set
To apply zoning to the fabric, enter the zoneset activate command, as shown in the following
example:
SN6000 FC Switch #> admin start
SN6000 FC Switch (admin) #> zoneset activate zoneset_1
Deactivating a zone set
To deactivate the active zone set and disable zoning in the fabric, enter the zoneset deactivate
command, as shown in the following example:
SN6000 FC Switch #> admin start
SN6000 FC Switch (admin) #> zoneset deactivate
Managing zones
All zone management 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:
SN6000 FC Switch #> admin start
SN6000 FC Switch (admin) #> zoning edit
SN6000 FC Switch (admin-zoning) #> zone create zone_1
SN6000 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:
SN6000 FC Switch #> admin start
SN6000 FC Switch (admin) #> zoning edit
SN6000 FC Switch (admin-zoning) #> zone delete zone_1
SN6000 FC Switch (admin-zoning) #> zoning save