beautypg.com

HP HSG Array Controller User Manual

Page 131

background image

6-24 StorageWorks Fibre Channel Storage Switch User's Guide

Compaq Confidential – Need to Know Required

Writer: Bill Reitz Project: StorageWorks Fibre Channel Storage Switch User's Guide Comments:

Part Number: AA-RHBYA-TE 135267-001 File Name: g-ch6 Zoning Last Saved On: 4/7/99 12:36 PM

zoneCreate

Figure 6-15 shows the

zoneCreate

command which creates a new zone.

zone_name is a C-style name for the zone and cannot already used for any
other zone object. zone_members is a list of one or more physical Fabric port
numbers (for example, 1,2), World Wide Names (for example,
10:00:00:60:69:00:00:8a), or zone alias names separated by semicolons. White
space is ignored.

admin> zoneCreate "Red_zone", "0,0; loop1"

admin> zoneCreate "Blue_zone", "0,1; array1; 0,2;
array2"

admin> zoneCreate "Green_zone", "0,0; loop1; 0,2;
array2"

value = 0 = 0x0

Figure 6-15. zoneCreate Command

zoneDelete

Figure 6-16 shows the

zoneDelete

command which deletes an existing

zone.

admin> zoneDelete "Blue_zone"

value = 0 = 0x0

Figure 6-16. zoneDelete Command

zoneRemove

Figure 6-17 shows the

zoneRemove

command which removes one or more

zone_members from an existing zone. The members removed are found by an
exact string match when removing multiple members order is important. If this
command results in all members being removed the zone is deleted.

admin> zoneRemove "Blue_zone", "array2"

value = 0 = 0x0

Figure 6-17. zoneRemove Command

zoneShow

Figure 6-18 shows the

zoneShow

command which prints the specified zone

definition if a parameter is given, otherwise all zone configuration information
is printed.