DETAILED STEPS
Purpose
Command or Action
Enables privileged EXEC mode.
enable
Step 1
Example:
• Enter your password if prompted.
Device> enable
Copies the current startup configuration to the new location
to create the configuration file.
copy nvram:startup-config flash-filesystem:filename
Example:
Step 2
Device# copy nvram:startup-config
usbflash0:switch-config
Enters global configuration mode.
configure terminal
Example:
Step 3
Device# configure terminal
Specifies that the startup configuration file be stored in flash
memory by setting the CONFIG_FILE variable.
boot config flash-filesystem: filename
Example:
Step 4
Device(config)# boot config usbflash0:switch-config
Exits global configuration mode.
end
Example:
Step 5
Device(config)# end
Enters the new configuration.
Do one of the following:
Step 6
• Use FTP, RCP, or TFTP to copy the new
configuration. If you try to load a configuration that
is more than three times larger than the NVRAM size,
the following error message is displayed: “[buffer
overflow -
file-size
/
buffer-size
bytes]. ”
•
configure terminal
Example:
Device# configure terminal
When you have finished changing the
running-configuration, save the new configuration.
copy system:running-config nvram:startup-config
Example:
Step 7
Device(config)# copy system:running-config
nvram:startup-config
System Management Configuration Guide, Cisco IOS XE Fuji 16.8.x (Catalyst 9500 Switches)
201
Managing Configuration Files
Storing the Configuration in Flash Memory on Class A Flash File Systems