Storing the Configuration in Flash Memory on Class A Flash File Systems
Device# configure terminal
Device(config)# service compress-config
Device(config)# end
Device# copy tftp://172.16.2.15/tokyo-confg system:running-config
Configure using tokyo-confg from 172.16.2.155? [confirm] y
Booting tokyo-confg from 172.16.2.155:!!! [OK - 874/16000 bytes]
Device# copy system:running-config nvram:startup-config
Building configuration...
Compressing configuration from 129648 bytes to 11077 bytes
[OK]
Storing the Configuration in Flash Memory on Class A Flash File Systems
To store the startup configuration in flash memory, complete the tasks in this section:
SUMMARY STEPS
1. enable
2. copy nvram:startup-config flash-filesystem:filename
3. configure terminal
4. boot config flash-filesystem: filename
5. end
6. Do one of the following:
7. copy system:running-config nvram:startup-config
DETAILED STEPS
Command or Action
Step 1
enable
Example:
Device> enable
Step 2
copy nvram:startup-config flash-filesystem:filename
Example:
Device# copy nvram:startup-config
usbflash0:switch-config
System Management Configuration Guide, Cisco IOS XE Gibraltar 16.10.x (Catalyst 9200 Switches)
164
• 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
Purpose
Enables privileged EXEC mode.
• Enter your password if prompted.
Copies the current startup configuration to the new location
to create the configuration file.
Managing Configuration Files