Storing the Configuration in Flash Memory on Class A Flash File Systems
Command or Action
Step 6
copy system:running-config nvram:startup-config
Example:
Device(config)# copy system:running-config
nvram:startup-config
Examples
The following example compresses a 129-KB configuration file to 11 KB:
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
System Management Configuration Guide, Cisco IOS XE Fuji 16.8.x (Catalyst 9500 Switches)
200
• 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
When you have finished changing the
running-configuration, save the new configuration.
Managing Configuration Files