Reference Guide
96 Brocade Fabric OS Command Reference
53-1004112-02
cfgSave
cfgSave
Saves the zone configuration to nonvolatile memory.
Synopsis cfgsave
Description Use this command to save the current zone configuration. This command writes the defined configuration and the
name of the effective configuration to nonvolatile memory in all switches in the fabric.
The saved configuration is automatically reloaded at power on, and, if a configuration was in effect at the time it was
saved, the same configuration is reinstalled with an automatic cfgEnable command.
Because the saved configuration is reloaded at power on, only valid configurations are saved. The cfgSave
command validates the effective configuration by performing the same tests as the cfgEnable command. If the
tests fail, an error message is displayed and the configuration is not saved.
This command ends and commits the current transaction. 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.
If there are open transactions in the fabric, only single transaction can be saved. Use the cfgtransshow
--opentrans command to view the list of all the domains in the fabric with open transactions.
Notes The execution of this command is subject to Virtual Fabric restrictions that may be in place. Refer to "Using Fabric
OS Commands" and "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 save a zone configuration:
switch:admin> cfgsave
WARNING!!!
The changes you are attempting to save will render the
Effective configuration and the Defined configuration
inconsistent. The inconsistency will result in different
Effective Zoning configurations for switches in the fabric if
a zone merge or HA failover happens. To avoid inconsistency
it is recommended to commit the configurations using the
cfgenable command.
Do you want to save Defined zoning configuration
only? (yes, y, no, n): [no]y
To save a zone configuration if there are multiple open transactions:
switch:admin> cfgsave
You are about to save the Defined zoning configuration. This
action will only save the changes on Defined configuration.
Multiple open transactions are pending in this fabric. Only one
transaction can be saved.Please abort all unwanted transactions
using the cfgtransabort command. Use the cfgtransshow --opentrans
command to display a list of domains with open transactions
Do you want to save the Defined zoning configuration only? (yes, y, no, n): [no] n