Zoneset command
Description Manages zone sets and component zones across the fabric.

Authority Admin session and a Zoning Edit session. Refer to the Zoning command for information about starting a Zoning Edit session. The Active, List, and Zones operands are available without an Admin session. You must close the Zoning Edit session before using the Activate and Deactivate operands.

Syntax zoneset

activate [zone_set] active

add [zone_set] [zone_list]

copy [zone_set_source] [zone_set_destination] create [zone_set]

deactivate

delete [zone_set] list

remove [zone_set] [zone_list]

rename [zone_set_old] [zone_set_new] zones [zone_set]

Operands activate [zone_set]

Activates the zone set given by [zone_set]. This operand deactivates the active zone set. End the Zoning Edit session before using this operand.

active

Displays the name of the active zone set. This operand does not require Admin session.

add [zone_set] [zone_list]

Adds a list of zones and aliases given by [zone_list] to the zone set given by [zone_set]. Use a <space> to delimit zone and alias names in [zone_list].

copy [zone_set_source] [zone_set_destination]

Creates a new zone set named [zone_set_destination] and copies into it the zones from the zone set given by [zone_set_source].

create [zone_set]

Creates the zone set with the name given by [zone_set]. A zone set name must begin with a letter and be no longer than 64 characters. Valid characters are 0—9, A—Z, a—z, _, $, ^, and -. The zoning database supports a maximum of 256 zone sets.

deactivate

Deactivates the active zone set. End the Zoning Edit session before using this operand.

delete [zone_set]

Deletes the zone set given by [zone_set]. If the specified zone set is active, the command is suspended until the zone set is deactivated.

list

Displays a list of all zone sets. This operand does not require an Admin session.

remove [zone_set] [zone_list]

Removes a list of zones given by [zone_list] from the zone set given by [zone_set]. Use a <space> to delimit zone names in [zone_list]. If [zone_set] is the active zone set, the zone will not be removed until the zone set has been deactivated.

rename [zone_set_old] [zone_set_new]

Renames the zone set given by [zone_set_old] to the name given by [zone_set_new]. You can rename the active zone set.