Reference Guide

Replacing zone members
Fabric OS allows you to replace one zone member with another zone member using a CLI command. This command takes two inputs.
The first is the member to be replaced and the second is the new member. These inputs can be formatted only with WWN or D,I zoning
schemes.
Notes and restrictions
To make a configuration change effective, a cfgEnable command should be issued after the zoneObjectReplace command.
Otherwise, the changes will be in the transaction buffer but not committed.
Only members of regular zones and aliases (those identified using either
D,I
or WWN) can be replaced using
zoneObjectReplace .
The zoneObjectReplace command is not applicable for Frame Redirect (FR) and Traffic Isolation (TI) zones. Only members of
regular zones can be replaced using this command.
The zoneObjectReplace command does not work with aliases. Alias members (that is, members inside an alias) can be
replaced using zoneObjectReplace , but an alias itself cannot be directly replaced. To achieve the effect of replacement, create a
new alias (with the desired new name) containing the same members, and then delete the old alias.
Use the following procedure to replace members in a zone.
1. Connect to the switch and log in using an account with admin permissions.
2. Enter the zoneObjectReplace command, using the following syntax:
zoneobjectreplace old wwn/D,I new wwn/D,I
NOTE
The zoneObjectReplace command does
not
support partial pattern matching ("wildcards") of zone member aliases.
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 replacing zone members
switch:admin> cfgshow
Defined configuration:
zone: matt zeus; bond; jeff;jones; 11, 2
zone: sloth bawn; bolt; bond; brain; brit; bru; 10:00:00:00:01:1e:20:20
alias: bawn 3,5
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)
switch:admin>
switch:admin> zoneobjectreplace 11,2 4,8
switch:admin> cfgsave
switch:admin> cfgshow
Administering Advanced Zoning
Brocade Fabric OS Administration Guide, 8.0.1
53-1004111-02 311