Purpose
Command or Action
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
Examples
The following example stores the configuration file in usbflash0:
Device#
copy nvram:startup-config usbflash0:switch-config
Device#
configure terminal
Device(config)#
boot config usbflash0:switch-config
Device(config)#
end
Device#
copy system:running-config nvram:startup-config
System Management Configuration Guide, Cisco IOS XE Gibraltar 16.10.x (Catalyst 9200 Switches)
165
Managing Configuration Files
Storing the Configuration in Flash Memory on Class A Flash File Systems