Specifications
4-12
Catalyst 2970 Switch Software Configuration Guide
78-15462-03
Chapter 4 Assigning the Switch IP Address and Default Gateway
Modifying the Startup Configuration
To store the configuration or changes you have made to your startup configuration in Flash memory,
enter this privileged EXEC command:
Switch# copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
This command saves the configuration settings that you made. If you fail to do this, your configuration
will be lost the next time you reload the system. To display information stored in the NVRAM section
of Flash memory, use the show startup-config or more startup-config privileged EXEC command.
For more information about alternative locations to copy the configuration file, see Appendix B,
“Working with the Cisco IOS File System, Configuration Files, and Software Images.”
Modifying the Startup Configuration
This section describes how to modify the switch startup configuration. It contains this configuration
information:
• Default Boot Configuration, page 4-12
• Automatically Downloading a Configuration File, page 4-13
• Booting Manually, page 4-13
• Booting a Specific Software Image, page 4-14
• Controlling Environment Variables, page 4-15
See also Appendix B, “Working with the Cisco IOS File System, Configuration Files, and Software
Images,” for information about switch configuration files.
Default Boot Configuration
Table 4-3 shows the default boot configuration.
Table 4-3 Default Boot Configuration
Feature Default Setting
Operating system software image The switch attempts to automatically boot the system using information in the BOOT
environment variable. If the variable is not set, the switch attempts to load and
execute the first executable image it can by performing a recursive, depth-first search
throughout the Flash file system.
The Cisco IOS image is stored in a directory that has the same name as the image file
(excluding the .bin extension).
In a depth-first search of a directory, each encountered subdirectory is completely
searched before continuing the search in the original directory.
Configuration file Configured switches use the config.text file stored on the system board in Flash
memory.
A new switch has no configuration file.