Deployment Guide

Fabric OS Command Reference 1221
53-1003131-01
zoneObjectReplace
2
zoneObjectReplace
Replaces zone members.
SYNOPSIS zoneobjectreplace oldmember newmember
zoneobjectreplace --help
DESCRIPTION Use this command to replace the existing member of a zone with a new member. This command can be
used to replace members of an alias, but an alias itself cannot be replaced. This command is not
applicable for Traffic Isolation (TI) Zones, and Frame Redirect (RD) Zones.
For the change to become effective, enable the configuration with the cfgEnable command.
NOTES The execution of this command is subject to Virtual Fabric or Admin Domain restrictions that may be in
place. Refer to Chapter 1, "Using Fabric OS Commands" and Appendix A, "Command Availability" for
details.
When an FCS policy is enabled, this command can be issued only from the primary FCS switch.
OPERANDS The following operands are required:
oldmember
Specifies the the zone member that has to be replaced. You can specify WWN or
Domain,Index (D,I).
newmember
Specifies the new zone member with which to replace the old zone member. You
can specify WWN or D,I.
--help
Displays the command usage.
EXAMPLES To replace zone member:
switch:admin> zoneobjectreplace \
"20:00:00:05:1e:a1:af:b2" "10:00:00:05:1e:a1:10:c1"
switch:admin> cfgshow
Defined configuration:
cfg: cfg lsan_m
cfg: cfg1 zone2; zone3
zone: lsan_m 20:15:00:05:1e:a2:f9:b1; 20:13:00:05:1e:a2:f9:b1
zone: zone1 2,3; 20:00:00:05:1e:a1:af:b1; zali_1
zone: zone2 5,7; 2,9
zone: zone3 10:00:00:05:1e:a1:10:c1; 20:10:00:05:1e:a9:20:12
alias: zali_1 10:00:00:05:1e:a1:ef:b9; 2,3; 1,11
Effective configuration:
cfg: cfg
zone: lsan_m 20:15:00:05:1e:a2:f9:b1 20:13:00:05:1e:a2:f9:b1
SEE ALSO zoneAdd, zoneCreate, zoneDelete, zoneRemove, zoneShow