Cisco Systems 12010, 12810, 12410 manual Specifying a Cisco IOS Software Image to Boot the System

Page 48

Chapter 4 System Startup and Basic System Configuration

Using RP Flash Memory Cards

Specifying a Cisco IOS Software Image to Boot the System

Use the procedure in this section to identify a specific Cisco IOS software image (new.image in this example) that you want to make bootable from a flash memory card.

The software configuration register must be set to 0x2102 to boot the image from the flash memory card. Therefore, the config-registercommand must be included in the command sequence, as shown in the following example.

Milo# configure terminal

Milo(config)# no boot system

Milo(config)# boot system flash slot0:new.image

Milo(config)# config-register 0x2102

Ctrl-Z

Milo# copy running-config startup-config

Milo# reload

When you enter the reload command, the system uses the specified file (new.image) on the flash memory card in slot 0 to boot the system.

If one of the following software configuration register settings is specified in the preceding example, the system would follow those instructions accordingly:

0x2000—If the network boot fails, the system boots a default Cisco IOS software image from a flash memory card.

0x0100—The system ignores the Break function.

0x0101—The system boots the default image (the first image found) from the onboard flash memory SIMM on the RP. This setting also tells the system that it should not reset the Break disable function, nor should it check for a default filename for booting over the network.

0x0002—The system looks in the flash memory SIMM on the RP for a default Cisco IOS software image.

0x0102—The system disables the Break function and checks for a default TFTP server filename. If the network boot operation fails, the system boots from a flash memory card.

 

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

4-48

OL-11496-01

Image 48
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 Flash Memory Commands Pwd CommandCd Command Dir Command Delete CommandMilo# dir slot0 Squeeze Command Milo# squeeze slot0Booting from Flash Memory Miloconfig# boot system flash slot0myfile1Copying 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 slot0myfile2Copy slot0slot1filename startup-config Milo# copy slot0myfile startup-configMilo# copy startup-config running-config Recovering from Locked Blocks in Flash Memory Cards Post-Installation Procedures OL-11496-01