beautypg.com

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

Page 139

background image

Fabric OS Command Reference

109

53-1003131-01

cfgSave

2

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 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 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

switch:admin> cfgtransabort 271010736