Cisco Systems 12810, 12010 Booting from Flash Memory, Copying Image Files to or From Flash Memory

Page 52

Chapter 4 System Startup and Basic System Configuration

Using RP Flash Memory Cards

Booting from Flash Memory

To boot from flash memory, the boot field in the software configuration register (bits 3 through 0) must be set to a value between 2 and 15 (see the “Configuring the Software Configuration Register” section on page 4-31).

Use the following command to enable booting from flash memory.

boot system flash device:filename

Where:

boot system flash device: is slot0:, or slot1:

filename is the name of the configuration file

Milo# configure terminal

Enter configuration commands, one per line. End with CNTL/Z.

Milo(config)# boot system flash slot0:myfile1

Copying Image Files to or From Flash Memory

This section describes how to copy image files to the flash memory SIMM on the route processor, or to a flash memory card in slot 0 or slot 1.

Caution You cannot copy a new Cisco IOS software image into the onboard flash memory SIMM (also referred to as bootflash) while the system is running from that onboard flash memory.

 

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

4-52

OL-11496-01

Image 52
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 Pwd Command Flash Memory CommandsCd Command Delete Command Dir CommandMilo# dir slot0 Squeeze Command Milo# squeeze slot0Miloconfig# boot system flash slot0myfile1 Booting from Flash MemoryCopying Image Files to or From Flash Memory 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 slot0myfile startup-config Copy slot0slot1filename startup-configMilo# copy startup-config running-config Recovering from Locked Blocks in Flash Memory Cards Post-Installation Procedures OL-11496-01