cisco IOS — Storing the Configuration in Flash Memory on Class A Flash File Systems

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: Procedure Managing Configuration Files Storing the Configuration in Flash Memory on Class A Flash File Systems Command or Action Purpose Step 1 enable Example: Device> enable Enables privileged EXEC mode. • Enter your password if prompted. Step 2 copy nvram:startup-config flash-filesystem:filename Example: Device# copy nvram:startup-config usbflash0:switch-config Copies the current startup configuration to the new location to create the configuration file. Step 3 configure terminal Example:

Device# configure terminal Enters global configuration mode. Step 4 boot config flash-filesystem: filename Example: Device(config)# boot config usbflash0:switch-config Specifies that the startup configuration file be stored in flash memory by setting the CONFIG FILE variable. _ Step 5 end Example: Device(config)# end Exits global configuration mode. Step 6 Do one of the following: • 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 Enters the new configuration. Managing Configuration Files 21