Each device can have one startup configuration file and one running configuration.
The startup configuration file is shared by both flash modules. The running
configuration resides in DRAM.
Replacing the startup configuration with the running configuration
After you make configuration changes to the active system, you can save those
changes by writing them to code flash. When you write configuration changes to
code flash, you replace the startup configuration with the running configuration.
To replace the startup configuration with the running configuration, enter the
following command at any Enable or CONFIG command prompt:
Replacing the running configuration with the startup configuration
If you haven't yet executed a write memory command to overwrite the startup
configuration with the running configuration and you want to back out of the
changes you have made to the running configuration and return to the startup
configuration, enter the following command at the Privileged EXEC level of the CLI:
NetIron# reload
When the system detects differences between the running and startup
configurations, it prompts you as follows:
Running Config data has been changed. Do you want to continue
the reload without saving the running config? (enter 'y' or 'n'):
Enter y, and press the Enter key
Copying a configuration file to or from a TFTP server
To copy the startup-config or running-config file to or from a TFTP server, use one
of the following methods.
Note: You can name the configuration file when you copy it to a TFTP server.
To initiate transfers of configuration files to or from a TFTP server, enter one of the
following commands at the Privileged EXEC level of the CLI:
v copy startup-config tftp <tftp-ip-addr> <filename> - Use this command to
v copy running-config tftp <tftp-ip-addr> <filename> - Use this command to
v copy tftp startup-config <tftp-ip-addr> <filename> - Use this command to
v copy tftp running-config <tftp-ip-addr> <filename> [overwrite] - Use this
Making local copies of the startup configuration file
You can copy the startup-config file in code flash to a TFTP server.
NetIron# write memory
However, when you copy a configuration file from the server to the switch,
the file is always copied as "startup-config" or "running-config", depending on
which type of file you saved to the server.
upload a copy of startup-config from the switch to a TFTP server.
upload a copy of the running configuration from the switch to a TFTP server.
download a copy of the startup-config from a TFTP server to a switch.
command to download the running configuration from the system's runtime
memory to a TFTP server. The running configuration is then appended to the
current configuration of the switch.
Chapter 7. Upgrading software images and configuration files
51