beautypg.com

To delete a zone, To view a zone in the defined configuration, Creating and modifying zoning configurations – HP Brocade 4Gb SAN Switch for HP BladeSystem p-Class User Manual

Page 134: To create a zoning configuration

background image

134 Administering advanced zoning

To delete a zone:

1.

Connect to the switch and log in as admin.

2.

Issue the

zonedelete

command.

3.

Issue the

cfgsave

command to save the change to the defined configuration.

Example:

To view a zone in the defined configuration:

1.

Connect to the switch and log in as admin.

2.

Issue the

zoneshow

command.

The following example shows all zones beginning with A, B, or C:

If no parameters are specified, the entire zone database (both the defined and effective configuration)

is displayed.

Creating and modifying zoning configurations

You can store a number of zones in a zoning configuration database. The maximum number of items that

can be stored in the zoning configuration database depends on the following criteria:

Number of switches in the fabric.

Whether or not interoperability mode is enabled.

Number of bytes per item. The number of bytes required for an item depends on the specifics of the

fabric, but cannot exceed 64 bytes per item.

You can use the

cfgsize

command to check both the maximum available size and the currently saved

size. See the HP StorageWorks Fabric OS 4.x command reference guide for details on the

cfgsize

command. If you believe you are approaching the maximum, you can save a partially completed zoning

configuration and use the

cfgsize

command to determine the remaining space.

See ”

Managing zoning configurations in a fabric

” on page 137 for important considerations for

managing zoning in a fabric.

To create a zoning configuration:

1.

Connect to the switch and log in as admin.

2.

Issue the

cfgcreate

command.

3.

Issue the

cfgsave

command to save the change to the defined configuration.

Example:

switch:admin> zonedelete “bluezone”

switch:admin> cfgsave

switch:admin> zoneshow “[A-C]*”

zone: Blue_zone 1,1; array1; 1,2; array2

zone: Bobs_zone 4,5; 4,6; 4,7; 4,8; 4,9

switch:admin> cfgcreate “NEW_cfg”, “redzone; bluezone; greenzone”

switch:admin> cfgsave