The cfgsave
command is used to save the defined zone configuration to nonvolatile memory on a Brocade switch. This ensures that any changes made to the zoning configuration persist after a system reboot or power cycle. Without using this command, the changes will remain active only temporarily and will be lost upon restarting the switch.
Key Points
- Purpose: Saves the defined zone configuration to the switchโs flash memory.
- When to Use: After creating, adding, removing, or modifying zones or zone configurations.
- Precaution: Verify the zoning configuration using commands like
cfgShow
before saving.
Cfgsave Procedure
- Log In: Access the switch using an admin account through a serial console or management IP.
- Modify Configuration: Make any required changes to the zoning configuration (e.g., using
cfgadd
,cfgremove
, orcfgcreate
). - Save the Configuration: Execute the
cfgsave
command to store the updated configuration in flash memory. - Confirm the Save: Respond to the confirmation prompt to proceed with saving.
Cfgsave Example
switch:admin> cfgsave
You are about to save the Defined zoning configuration. This will overwrite the existing zoning configuration in flash.
Do you want to continue (yes, y, no, n): y
Defined zoning configuration saved successfully.
Key Messages
- Confirmation Prompt: Ensures you acknowledge the save action to prevent accidental overwrites.
- Success Message: Indicates the configuration has been saved to nonvolatile memory.
Notes
- Use this command after making zoning changes to avoid losing configurations during unexpected reboots.
- If changes are not saved with
cfgsave
, they must be redefined after a switch restart.