beautypg.com

Removing devices (members) from a zone – Brocade Fabric OS Administrators Guide (Supporting Fabric OS v7.3.0) User Manual

Page 311

background image

1. Connect to the switch and log in using an account with admin permissions.
2. Enter the zoneAdd command, using either of the following syntaxes:

zoneadd "zonename", "member [; member...]"

zoneadd "zonename ", "aliasname_pattern* [;members ]"

NOTE
The zoneAdd command supports partial pattern matching ("wildcards") of zone member aliases.
This allows you to add multiple aliases that match the "aliasname_pattern" in the command line.

3. Enter the cfgSave command to save the change to the defined configuration.

The cfgSave command ends and commits the current zoning transaction buffer to nonvolatile
memory. If a transaction is open on a different switch in the fabric when this command is run, the
transaction on the other switch is automatically aborted. A message displays on the other switches to
indicate that the transaction was aborted.

4. Enter the cfgShow command to view the changes.

Example for adding members to a zone

switch:admin> zoneadd matt, "ze*; bond*; j*"

switch:admin> cfgsave

switch:admin> cfgshow

Defined configuration:

zone: matt 30:06:00:07:1e:a2:10:20; 3,2; zeus; bond; jake; jeff; jones

zone: sloth bawn; bolt; bond; brain; 10:00:00:00:01:1e:20:20

alias: bawn 3,5; 4,8

alias: bolt 10:00:00:02:1f:02:00:01

alias: bond 10:00:05:1e:a9:20:00:01; 3,5

alias: brain 11,4; 22,1; 33,6

alias: jake 4,7; 8,9; 14,11

alias: jeff 30:00:00:05:1e:a1:cd:02; 40:00:00:05:1e:a1:cd:04

alias: jones 7,3; 4,5

alias: zeus 4,7; 6,8; 9,2

Effective configuration:

No Effective configuration: (No Access)

Removing devices (members) from a zone

ATTENTION

The zoneRemove command will remove all zone member aliases that match the "aliasname_pattern"
in the zone database from the specified zone.

Use the following procedure to remove members from a zone:

1. Connect to the switch and log in using an account with admin permissions.
2. Enter the zoneRemove command, using either of the following syntaxes:

zoneremove "zonename ", "member [; member ...]"

zoneremove "zonename ", "aliasname_pattern* [;members ]"

NOTE
This command supports partial pattern matching ("wildcards") of zone member aliases. This allows
you to remove multiple aliases that match the "aliasname_pattern" in the command line.

Removing devices (members) from a zone

Fabric OS Administrators Guide

311

53-1003130-01