cisco IOS — Copying Configuration Files Between Flash Memory File Systems

Examples The following example copies the file named ios-upgrade-1 from partition 4 of the flash memory PC Card in usbflash0 to the device startup configurations: Device# copy usbflash0:4:ios-upgrade-1 nvram:startup-config Copy 'ios-upgrade-1' from flash device as 'startup-config' ? [yes/no] yes [OK] Copying Configuration Files Between Flash Memory File Systems On platforms with multiple flash memory file systems, you can copy files from one flash memory file system, such as internal flash memory to another flash memory file system. Copying files to different flash memory file systems lets you create backup copies of working configurations and duplicate configurations for other devices.

To copy a configuration file between flash memory file systems, use the following commands in EXEC mode: Procedure Managing Configuration Files Copying Configuration Files Between Flash Memory File Systems Command or Action Purpose • copy filesystem: [partition-number:][filename ] nvram:startup-config • copy filesystem: [partition-number:][filename ] system:running-config Example: Device# copy usbflash0:4:ios-upgrade-1 nvram:startup-config • Copies a configuration file to your running configuration Command or Action Purpose Step 1 enable Example: Device> enable Enables privileged EXEC mode. • Enter your password if prompted. Step 2 show source-filesystem: Example: Device# show flash:

Displays the layout and contents of flash memory to verify the filename. Step 3 copy source-filesystem: [partition-number:][filename ] dest-filesystem:[partition-number:][filename ] Copies a configuration file between flash memory devices. Managing Configuration Files 24