Cisco Systems 12410, 12010, 12810 Copying Cisco IOS Software Images Between Flash Memory Cards

Page 56

Chapter 4 System Startup and Basic System Configuration

Using RP Flash Memory Cards

Copying Cisco IOS Software Images Between Flash Memory Cards

This procedure describes how to copy a later Cisco IOS software image from one flash memory card to another flash memory card containing an earlier Cisco IOS software image. In this example, the following filenames apply:

image.new—The new image on the flash memory card located in slot 1.

image.old—The old image on the flash memory card in slot 0.

image.boot—The bootable Cisco IOS software image stored in the onboard flash memory SIMM. (This image is used by default to boot the system if no other bootable image is available.)

This procedure assumes there is sufficient space on the flash memory card in slot 0 for both images (the new Cisco IOS software image and the old image).

If there is not enough space for both images on the card in slot 0, use the delete command to delete unnecessary files from the flash memory card, but do not delete the image.old file.

After deleting the files, use the squeeze command to remove the deleted files from the flash memory card in slot 0 permanently.

For additional information about the delete and squeeze commands, see the “Flash Memory Commands” section on page 4-49).

Use the following procedure to copy a bootable Cisco IOS software image from one flash memory card to another.

Step 1 Insert the flash memory card with the new image in slot 1.

Step 2 Enter the following command to copy the image.new file from the memory card in slot 1 to the memory card in slot 0:

Milo# copy slot1:image.new slot0:image.new

 

Cisco 12010, Cisco 12410, and Cisco 12810 Router Installation and Configuration Guide

4-56

OL-11496-01

Image 56
Contents System Startup and Basic System Configuration Preconfiguration Requirements Sources of Cisco IOS SoftwareBoot Process Overview Powering On the Router and Observing the Boot Process Processor LED Display1 Meaning SourceLED Display Meaning Source PRIMII Meaning Source Line Card Alphanumeric LED Displays-Partial View ShownRomi OL-11496-01 Manually Booting the System Booting from the Cisco IOS Software Image Dir bootflashLocating a Valid Cisco IOS Software Image Dir slot0Command Purpose Boot flashConfiguring the Router Cisco IOS User Interface Command Modes Cisco IOS User InterfaceUser Exec Mode Privileged Exec ModeGlobal Configuration Mode Interface Configuration ModeUsing Setup for Configuration Changes Subinterface Configuration ModeMay enter a question mark ? for help SDCC1/0 No ip routing Configuring Global Parameters Using the Setup Facility Configuring Host Name Configuring Network Interfaces Configuring ProtocolsConfiguring Line Card Interfaces Milo# show version Using Global Configuration Mode Enter the enable command and password if promptedVerifying Running Configuration File Settings Milo# configure terminalMilo# copy running-config startup-config Router# show running-configSaving the Running Configuration Settings to Nvram Viewing the Running Configuration Settings Configuring the Software Configuration Register Bit Number Hexadecimal Value Meaning/Function Setting Software Configuration Settings Boot FieldCiscobootfieldvalue-processorname Changing Software Configuration Register Settings Reboot the system Miloconfig# config-register 0xvalueLow-Order Bits in the Software Configuration Register Action/Filename Bit High-Order Bits in the Software Configuration Register Bit Address net host9600 Recovering a Lost Password Rommon 1 config-registerEnter the initialize command to initialize the router Milo# show startup-config Using RP Flash Memory Cards Installing and Removing a Flash Memory CardOL-11496-01 Installing and Removing a Flash Memory Card Formatting a New Flash Memory Card Milo# format slot0Specifying a Cisco IOS Software Image to Boot the System Cd Command Flash Memory CommandsPwd Command Milo# dir slot0 Dir CommandDelete Command Squeeze Command Milo# squeeze slot0Copying Image Files to or From Flash Memory Booting from Flash MemoryMiloconfig# boot system flash slot0myfile1 Milo# copy tftpfilename bootflashslot0slot1 filename Milo# copy tftpmyfile1 slot0myfile1Copying a Cisco IOS Software Image into a Flash Memory Card Milo# copy tftpnew.image slot0new.image Copying Cisco IOS Software Images Between Flash Memory Cards Milo# copy slot1image.new slot0image.newMilo# configure terminal Milo# show bootvar Copy startup-config slot0 slot1 filenameMilo# copy startup-config slot0myfile2 Copy running-config slot0slot1filename Milo# copy running-config slot0myfile2Milo# copy startup-config running-config Copy slot0slot1filename startup-configMilo# copy slot0myfile startup-config Recovering from Locked Blocks in Flash Memory Cards Post-Installation Procedures OL-11496-01