A – Command Line Interface

￿

Zone Command

Zone Command

Manages zones and zone membership on a switch. The Zone command defines members (ports and devices) for a single switch. Zones are members of zone sets.

Authority Admin authority within a Zoning Edit session. Refer to the Zoning Command on page A-67. List, Members, and zone sets keywords are available with User authority and do not require a Zoning Edit session.

Syntax zone

add [zone] [members]

copy [zone_source] [zone_destination] create [zone]

delete [zone] list

members [zone]

remove [zone] [members] rename [zone_old [zone_new] type [zone] [zone_type] zonesets [zone]

Keywords add [zone] [members]

Specifies one or more ports given by [members] to add to the zone named [zone]. The application verifies that the [zone] format is correct, but does not validate that such a port exists. [members] can have one of the following formats:

Domain ID and port number pair (Domain ID, Port Number). Domain IDs and port numbers are in decimal. Ports are numbered beginning with 0.

6-character 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

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]. The zone name can have a maximum of 64 alpha-numeric characters without spaces.

delete [zone]

Deletes the specified zone given by [zone] from the zoning database. If the zone is a member 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 members. This keyword is valid for User authority and does not require a zoning edit session.

A-62

59022-03 D

Page 152
Image 152
Q-Logic 59022-03 D manual Zone Command, Syntax zone