Saving configuration changes – Brocade Multi-Service IronWare Switching Configuration Guide (Supporting R05.6.00) User Manual
Page 113
![background image](/manuals/361635/113/background.png)
Multi-Service IronWare Switching Configuration Guide
83
53-1003036-02
Verifying available flash space on the management module before an image is copied
3
Syntax: boot system slot1 file-name | slot2 file-name | flash secondary | tftp ip-address file-name
| bootp
NOTE
The command syntax is the same for immediately reloading and for changing the primary source,
except the file-name must be the full path name. You cannot specify a relative path name. If the first
character in the path name is not a slash ( / ), the CLI treats the name you specify as relative to the
root directory.
How the device responds to the command depends on whether you enter the command at the
Privileged EXEC level or the global CONFIG level.
If you enter multiple boot system commands at the global CONFIG level, the software places them
in the running-config in the order you enter them, and saves them to the startup-config in the same
order when you save the configuration. When you reload or power cycle the device, the device tries
the boot sources in the order they appear in the startup-config and running-config.
Saving configuration changes
You can configure the Brocade system to save configuration changes to a startup-config in flash
memory or on a flash card in slot 1 or 2.
Displaying the current location for saving configuration changes
Enter the following command at the Privileged EXEC level of the CLI to display the current save
location for the startup-config.
Brocade# locate startup-config
Startup-config data location is flash memory
Specifying the location for saving configuration changes
By default, when you save configuration changes, the changes are saved to the startup-config in
flash memory.
To change the save location to a flash card in slot 1 or 2, enter a command similar to the following.
Brocade# locate startup-config slot1 router1.cfg
Brocade# write memory
The first command in this example sets the device to save configuration changes to the file named
“switch1.cfg” in the flash card in slot 1. The second command saves the running-config to the
router1.cfg file on the flash card in slot 1.
NOTE
In this example, after you save the configuration changes using the write memory command, the
router1.cfg file will include the command that designates slot 1 as the save location for configuration
changes.
Syntax: locate startup-config [slot1 | slot2 | flash-memory] [/dir-path-name/]file-name
The locate command is used only for saving the startup-config file to a different location. But once
after reload, the system always picks up the startup-config file from the flash memory.
The slot1, slot2, and flash-memory keywords specify the flash card in slot 1 or slot 2 or flash
memory as the save location for configuration changes.