Brocade Fabric OS Command Reference Manual (53-1000240-01, November 2006)

2-740 Fabric OS Command Reference Manual
Publication Number: 53-1000240-01
zoneObjectExpunge
2
Note: Enter commands in lowercase only; mixed case is for readability.
zoneObjectExpunge
Expunges a zone object.
Synopsis zoneObjectExpunge "objectName"
Description Use this command to expunge a zone object. In addition to performing a simple delete, this command
also removes the object from the member lists of all other objects. Afterwards, this object is completely
removed from the database. You can use this command for all zone object types, including cfg, zone, and
alias.
This command changes the defined configuration. For the change to be preserved across switch reboots,
it must be saved to nonvolatile memory using the cfgSave command. For the change to become effective,
an appropriate zone configuration must be enabled using the cfgEnable command.
N
ote
This command requires a Brocade Advanced Zoning license.
When secure mode is enabled, this command can be issued only from the primary FCS switch.
Operands This command has the following operand:
"objectName" The name of the object that you want to expunge. Quotation marks are optional.
This operand is required.
Examples To create a configuration containing three zones:
See Also cfgAdd, cfgClear, cfgDelete, cfgDisable, cfgEnable, cfgRemove, cfgSave, cfgShow,
zoneObjectCopy, zoneObjectRename
switch:admin> cfgshow
Defined configuration:
cfg: USA_cfg Red_zone; White_zone; Blue_zone
zone: Blue_zone
1,1; array1; 1,2; array2
zone: Red_zone
1,0; loop1
zone: White_zone
1,3; 1,4
alias: array1 21:00:00:20:37:0c:76:8c; 21:00:00:20:37:0c:71:02
alias: array2 21:00:00:20:37:0c:76:22; 21:00:00:20:37:0c:76:28
alias: loop1 21:00:00:20:37:0c:76:85; 21:00:00:20:37:0c:71:df
switch:admin> zoneobjectexpunge "White_zone"
switch:admin> cfgshow
Defined configuration:
cfg: USA_cfg Red_zone; Blue_zone
zone: Blue_zone
1,1; array1; 1,2; array2
zone: Red_zone
1,0; loop1
alias: array1 21:00:00:20:37:0c:76:8c; 21:00:00:20:37:0c:71:02
alias: array2 21:00:00:20:37:0c:76:22; 21:00:00:20:37:0c:76:28
alias: loop1 21:00:00:20:37:0c:76:85; 21:00:00:20:37:0c:71:df