beautypg.com

Cfgclear – Brocade Fabric OS Command Reference (Supporting Fabric OS v7.3.0) User Manual

Page 132

background image

102

Fabric OS Command Reference

53-1003131-01

cfgClear

2

cfgClear

Clears all zone configurations.

SYNOPSIS

cfgclear

DESCRIPTION

Use this command to clear all zone information in the transaction buffer. All defined zone objects in the
transaction buffer are deleted. If an attempt is made to commit the empty transaction buffer while a zone
configuration is enabled, you are warned to first disable the enabled zone configuration or to provide a
valid configuration with the same name.

After clearing the transaction buffer with the cfgClear command, use the cfgDisable command to clear
the entire zoning configuration (both the transaction buffer and the active configuration). If there is no
current active zoning configuration, or you just want to clear the transaction buffer, use the cfgSave
command to commit the transaction.

If the default zone access mode is "No Access", this command recreates the default zoning objects.

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

None

EXAMPLES

To clear all zones and then clear nonvolatile memory:

switch:admin> cfgclear

The Clear All action will clear all Aliases, Zones, FA Zones

and configurations in the Defined configuration.

Run cfgSave to commit the transaction or cfgTransAbort to

cancel the transaction.

Do you really want to clear all configurations? \

(yes, y, no, n): [no] n

switch:admin> cfgsave

You are about to save the Defined zoning configuration. This

action will only save the changes on Defined configuration.

Any changes made on the Effective configuration will not

take effect until it is re-enabled. Until the Effective

configuration is re-enabled, merging new switches into the

fabric is not recommended and may cause unpredictable

results with the potential of mismatched Effective Zoning

configurations.

Do you want to save Defined zoning configuration only? \

(yes, y, no, n): [no]n

SEE ALSO

cfgDisable

,

cfgEnable

,

cfgSave