3-18
Catalyst 3750-X and 3560-X Switch Software Configuration Guide
OL-21521-01
Chapter 3 Assigning the Switch IP Address and Default Gateway
Modifying the Startup Configuration
Modifying the Startup Configuration
These sections describe how to modify the switch startup configuration:
• Default Boot Configuration, page 3-18
• Automatically Downloading a Configuration File, page 3-18
• Booting Manually, page 3-19
• Booting a Specific Software Image, page 3-20
• Controlling Environment Variables, page 3-21
See also A
ppendix B, “Working with the Cisco IOS File System, Configuration Files, and Software
Images,” for information about switch configuration files. See the “Switch Stack Configuration Files”
section on page 5-15 for information about switch stack configuration files.
Default Boot Configuration
Table 3-3 shows the default boot configuration.
Automatically Downloading a Configuration File
You can automatically download a configuration file to your switch by using the DHCP-based
autoconfiguration feature. For more information, see the “Understanding DHCP-Based
Autoconfiguration” section on page 3-3.
Ta b l e 3-3 Default Boot Configuration
Feature Default Setting
Operating system software image The switch attempts to automatically boot up the system using information in the
B
OOT 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
s
earched before continuing the search in the original directory.
Configuration file Configured switches use the c
onfig.text file stored on the system board in flash
memory.
A new switch has no configuration file.