Modifying Device Startup Configuration
The following sections provide information on how to modify the startup configuration of a device.
Specifying a Filename to Read and Write a System Configuration
By default, the Cisco IOS software uses the config.text file to read and write a nonvolatile copy of the system
configuration. However, you can specify a different filename, which will be loaded during the next boot cycle.
Before you begin
Use a standalone device for this task.
Procedure
PurposeCommand or Action
Enables privileged EXEC mode.enable
Step 1
Example:
• Enter your password if prompted.
Device> enable
Enters global configuration mode.configure terminal
Example:
Step 2
Device# configure terminal
Specifies the configuration file to load during
the next boot cycle.
boot flash:/file-url
Example:
Step 3
• file-url: The path (directory) and the
configuration filename.
Device(config)# boot flash:config.text
• Filenames and directory names are
case-sensitive.
Returns to privileged EXEC mode.end
Example:
Step 4
Device(config)# end
Lists the contents of the BOOT environment
variable (if set), the name of the configuration
show boot
Example:
Step 5
file pointed to by the CONFIG_FILE
Device# show boot
environment variable, and the contents of the
BOOTLDR environment variable.
• The boot global configuration command
changes the setting of the CONFIG_FILE
environment variable.
System Management Configuration Guide, Cisco IOS XE Amsterdam 17.2.x (Catalyst 9500 Switches)
67
Performing Device Setup Configuration
Modifying Device Startup Configuration