Table of Contents
Upgrading Flash Memory for Cisco 4000 Series ISRs
Upgrading the Flash Memory Card
Saving the Startup and Running Configuration
Installing the New Flash Memory Card
Retrieving the License and Configuration Files
Upgrading Flash Memory for Cisco 4000 Series ISRs
First Published: September 3, 2015
When the Cisco 4000 Series Integrated Services Routers (ISR) flash memory is provided to the customer, the flash memory card is not pre-configured. This document describes the procedures to transfer the Cisco IOS image, configuration files, and licenses from an original flash memory card (default flash memory) to a new flash memory card.
Note You do not have to reformat the new flash memory card, if you are using a Cisco 4000 series router to transfer or upgrade the Cisco IOS image. If the flash memory card is corrupted or files cannot be read, reformat the flash memory card on the Cisco 4000 series router using the format command.
Feature Information
For the latest information about features and caveats, see the release notes for your platform and software release. To find information about the features documented in this module, and to see a list of the releases in which each feature is supported, see the “Additional References” section.
Use the Cisco Feature Navigator to find information about platform support and Cisco IOS and
Cisco IOS XE operating system software image support. To access the Cisco Feature Navigator, go to http://www.cisco.com/go/cfn . An account on Cisco.com is not required.Upgrading the Flash Memory Card
To upgrade the flash memory card, perform these steps:
Step 1 Save the start-up and running configuration to an external universal serial bus (USB) flash memory (see Saving the Startup and Running Configuration).
Step 2 Save the permanent licenses installed to a file (see Saving Licenses).
Step 3 Install the new flash memory card, and copy the desired image from an external USB flash memory card to the bootflash (Installing the New Flash Memory Card).
Saving the Startup and Running Configuration
Use the copy command to save the start up or running configuration files to a device. For example, you can save the configuration files to an external USB flash memory.
This example shows how to save the start up or running configuration files to a device.
Saving Licenses
You can save the permanent licenses installed on a router to a file. This file can be reinstalled to retrieve all licenses back to the same router.
Installing the New Flash Memory Card
If you want to transfer old configurations and licenses from an old flash memory card to the new flash memory card, copy the configuration files and the saved license file to an USB flash memory card. Also, copy the designated image to an USB flash memory card and insert it into an external USB flash slot of the router. For more information, see Retrieving the License and Configuration Files section.
To install a new flash memory card on Cisco 4000 series ISR, perform these steps:
Step 1 Read the “ Safety Warnings ” section and disconnect the power supply before you perform any module replacement.
Step 2 Remove the chassis cover. For instructions on removing the chassis cover, see “ Replacing the Chassis Cover ” section.
Step 3 Place the flash memory card on top of the flash memory card connector.
Step 4 Tighten the supplied screw to secure the flash memory card in place.
Step 5 Replace the chassis cover. See ““ Replacing the Chassis Cover ” section.
Step 7 Boot up the router from the Cisco image that is available in an external USB flash memory card.
Note After the new flash memory is installed, it will take priority over the default flash. The content of new flash memory card is empty, therefore, the router will have to be first booted from an external USB flash memory.
Step 8 Copy the desired Cisco image from an external USB flash memory card to the bootflash using the copy usb0:imagename bootflash command.
Step 9 After copying files, execute the dir bootflash: command to ensure that the Cisco image is copied. This command can also be used to verify the size of the installed flash memory.
Step 10 Reload the router and boot up the router from the new flash memory:
Step 11 After the system boots up, execute the show version command to ensure that the Cisco image is booted from the bootflash.
Step 12 To transfer configuration files and reinstall saved licenses from the previous flash memory to the new flash memory, follow the steps provided in the Retrieving the License and Configuration Files section.
The following examples show how to install the new flash memory card and configuration files.
##########################################################################################Image loadedUse, duplication, or disclosure by the Government is subject to restrictions as set forth in subparagraph (c) of the Commercial Computer Software - Restricted Rights clause at FAR sec. 52.227-19 and subparagraph (c) (1) (ii) of the Rights in Technical Data and ComputerCisco IOS Software, ISR Software (X86_64_LINUX_IOSD-UNIVERSALK9-M), Version 15.4(3)S3, RELEASE SOFTWARE (fc1)Cisco IOS-XE software, Copyright (c) 2005-2015 by cisco Systems, Inc. All rights reserved. Certain components of Cisco IOS-XE software are licensed under the GNU General Public License ("GPL") Version 2.0. The software code licensed under GPL Version 2.0 is free software that comes with ABSOLUTELY NO WARRANTY. You can redistribute and/or modify suchGPL code under the terms of GPL Version 2.0. For more details, see the documentation or "License Notice" file accompanying the IOS-XE software,or the applicable URL provided on the flyer accompanying the IOS-XE software.This product contains cryptographic features and is subject to United States and local country laws governing import, export, transfer and use. Delivery of Cisco cryptographic products does not imply third-party authority to import, export, distribute or use encryption.Importers, exporters, distributors and users are responsible for compliance with U.S. and local country laws. By using this product you agree to comply with applicable laws and regulations. If you are unable to comply with U.S. and local laws, return this product immediately.*Jun 4 23:41:28.909: %IOS_LICENSE_IMAGE_APPLICATION-6-LICENSE_LEVEL: Module name = esg Next reboot level = ipbasek9 and License = No valid license found*Jun 4 23:41:39.091: %IOSXE_MGMTVRF-6-CREATE_SUCCESS_INFO: Management vrf Mgmt-intf created with ID 1, ipv4 table-id 0x1, ipv6 table-id 0x1E000001*Jun 4 23:41:39.143: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0, changed state to down*Jun 4 23:41:31.098: %CMLIB-6-THROUGHPUT_VALUE: SIP1: cmand: Throughput license found, throughput set to 100000 kbps*Jun 4 23:41:34.817: %IOSXE-6-PLATFORM: SIP1: cpp_cp: Process CPP_PFILTER_EA_EVENT__API_CALL__REGISTER*Jun 4 23:42:15.103: %LINK-5-CHANGED: Interface GigabitEthernet0, changed state to administratively downCisco IOS Software, ISR Software (X86_64_LINUX_IOSD-UNIVERSALK9-M), Version 15.4(3)S3, RELEASE SOFTWARE (fc1)*Jun 4 23:42:19.577: %SPA-3-ENVMON_NOT_MONITORED: SIP1: iomd: Environmental monitoring is not enabled for ISR4331-3x1GE[0/0]*Jun 4 23:42:27.587: %SPA-3-ENVMON_NOT_MONITORED: SIP1: iomd: Environmental monitoring is not enabled for ISR4331-3x1GE[0/0]After the system boots up, execute the show version command to ensure that the Cisco image boots up from the bootflash:
Cisco IOS Software, ISR Software (X86_64_LINUX_IOSD-UNIVERSALK9-M), Version 15.4(3)S3, RELEASE SOFTWARE (fc1)Execute the dir bootflash: command to check the image in the bootflash:
If the files are not in the bootflash, copy the desired image from the external USB flash to the bootflash using the copy usb0:imagename bootflash command.Execute the dir bootflash: command to ensure that the Cisco image is copied to the bootflash:
*Jun 4 23:45:43.848: %SYS-5-RELOAD: Reload requested by console. Reload Reason: Reload Command.Jun 4 23:45:57.691 R0/0: %PMAN-5-EXITACTION: Process manager is exiting: process exit with reload chassis code
Retrieving the License and Configuration Files
Insert the USB flash memory card with the configuration files and the saved license file to the router, For more information, see Additional References and Additional References sections.
To retrieve the license and configuration files from an original flash memory, perform these steps:
Step 1 Execute the license install filename.lic command to reinstall all licenses from the previous flash to the new flash memory. For more information, see Installing and Upgrading Licenses by Using Software Activation Commands section.
The following example shows how to reinstall all licenses from the previous flash to the new flash memory.
*Jun 8 21:13:57.827: %IOS_LICENSE_IMAGE_APPLICATION-6-LICENSE_LEVEL: Module name = esg Next reboot level = appxk9 and License = appxk9*Jun 8 21:13:57.924: %IOS_LICENSE_IMAGE_APPLICATION-6-LICENSE_LEVEL: Module name = esg Next reboot level = securityk9 and License = securityk9*Jun 8 21:13:57.926: %LICENSE-6-INSTALL: Feature appxk9 1.0 was installed in this device. UDI=ISR4331/K9:FDO1913151A; StoreIndex=1:Primary License Storage*Jun 8 21:13:57.934: %IOS_LICENSE_IMAGE_APPLICATION-6-LICENSE_LEVEL: Module name = esg Next reboot level = uck9 and License = uck9*Jun 8 21:13:58.123: %LICENSE-6-INSTALL: Feature ipbasek9 1.0 was installed in this device. UDI=ISR4331/K9:FDO1913151A; StoreIndex=2:Primary License Storage*Jun 8 21:13:58.349: %LICENSE-6-INSTALL: Feature securityk9 1.0 was installed in this device. UDI=ISR4331/K9:FDO1913151A; StoreIndex=3:Primary License Storage*Jun 8 21:13:58.667: %LICENSE-6-INSTALL: Feature uck9 1.0 was installed in this device. UDI=ISR4331/K9:FDO1913151A; StoreIndex=4:Primary License StorageStep 2 Copy the start-up configuration file from the USB flash memory to the start-up configuration of the router.
Step 3 Copy the running configuration file from the USB flash memory to the running configuration of the router.
Step 4 Reload the router to enable all permanent licenses.
This example shows how to retrieve the configuration from the original flash memory.
Additional References
The following sections provide references related to this function.
Related Documents
Upgrading Field-Programmable Hardware Devices for Cisco 4000 Series ISRs
http://www.cisco.com/c/en/us/td/docs/routers/access/4400/cpld/isr4400_hwfp.html
Technical Assistance
isco and the Cisco logo are trademarks or registered trademarks of Cisco and/or its affiliates in the U.S. and other countries. To view a list of Cisco trademarks, go to this URL: www.cisco.com/go/trademarks . Third-party trademarks mentioned are the property of their respective owners. The use of the word partner does not imply a partnership relationship between Cisco and any other company. (1110R)
Any Internet Protocol (IP) addresses and phone numbers used in this document are not intended to be actual addresses and phone numbers. Any examples, command display output, network topology diagrams, and other figures included in the document are shown for illustrative purposes only. Any use of actual IP addresses or phone numbers in illustrative content is unintentional and coincidental.
© 2015 Cisco Systems, Inc. All rights reserved.