Zone command, Zone, Authority syntax keywords – HP 2/8q Fibre Channel User Manual

Page 174: Command

Advertising
background image

Command Line Interface

174

HP StorageWorks 2/8q Fibre Channel Switch Management User Guide

Zone

Command

Manages zones and zone membership on a switch.

Authority

Admin and a Zoning Edit. See the “

Zoning command

” on page 178 for information about

starting a Zoning Edit session. The

List

,

Members

, and

Zonesets

keywords are

available without an Admin session.

Syntax

ZONE

Keywords

ADD [zone] [member_list]

Specifies one or more ports/devices given by [members] to add to the zone named
[zone]. Use a <space> to delimit aliases and ports/devices in [member_list]. A zone
can have a maximum of 2000 members. [member_list] can have any of the following
formats:

— Domain ID and port number pair (Domain ID, Port Number). Domain IDs can be

1-239; port numbers can be 0-255.

— 6-character hexadecimal device Fibre Channel address (hex)

— 16-character hexadecimal worldwide port name (WWPN) with the format

xx:xx:xx:xx:xx:xx:xx:xx.

— Alias name

The application verifies that the [members] format is correct, but does not validate that
such a member exists.

COPY [zone_source] [zone_destination]

Creates a new zone named [zone_destination] and copies the membership into it from
the zone given by [zone_source].

CREATE [zone]

Creates a zone with the name given by [zone]. An zone 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 1000 zones.

DELETE [zone]

Deletes the specified zone given by [zone] from the zoning database. If the zone is a
component of the active zone set, the zone will not be removed from the active zone
set until the active zone set is deactivated.

LIST

Displays a list of all zones and the zone sets of which they are components. This
keyword does not require an Admin session.

MEMBERS [zone]

Displays all members of the zone given by [zone]. This keyword does not require an
Admin session.

Advertising
This manual is related to the following products: