Default Boot Configuration; Automatically Downloading A Configuration File; Specifying The Filename To Read And Write The System Configuration - Cisco Catalyst 2950 Software Configuration Manual

Hide thumbs Also See for Catalyst 2950:
Table of Contents

Advertisement

Modifying the Startup Configuration

Default Boot Configuration

Table 4-3
Table 4-3
Default Boot Configuration
Feature
Operating system software image
Configuration file

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
Autoconfiguration" section on page

Specifying the Filename to Read and Write the System Configuration

By default, the Cisco IOS software uses the file config.text to read and write a nonvolatile copy of the
system configuration. However, you can specify a different filename that will be loaded during the next
boot cycle.
Beginning in privileged EXEC mode, follow these steps to specify a different configuration filename:
Command
Step 1
configure terminal
Step 2
boot config-file flash:/file-url
Step 3
end
Step 4
show boot
Step 5
copy running-config startup-config
Catalyst 2950 and Catalyst 2955 Switch Software Configuration Guide
4-12
shows the default boot configuration.
Default Setting
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 software 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.
Configured switches use the config.text file stored on the system board in flash
memory.
A new switch has no configuration file.
Chapter 4
Assigning the Switch IP Address and Default Gateway
"Understanding DHCP-Based
4-3.
Purpose
Enter global configuration mode.
Specify the configuration file to load during the next boot cycle.
For file-url, specify the path (directory) and the configuration
filename.
Filenames and directory names are case sensitive.
Return to privileged EXEC mode.
Verify your entries.
The boot config-file global configuration command changes the
setting of the CONFIG_FILE environment variable.
(Optional) Save your entries in the configuration file.
78-11380-12

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 2955

Table of Contents