Cisco Systems 12010, 12810 Locating a Valid Cisco IOS Software Image, Dir bootflash, Dir slot0

Page 12

Chapter 4 System Startup and Basic System Configuration

Manually Booting the System

Locating a Valid Cisco IOS Software Image

Use the following procedure to locate a Cisco IOS software image to manually boot the router from the ROM monitor prompt (rommon>).

Step 1 Enter the ROM monitor mode dir bootflash command to examine the contents of the onboard flash memory in NVRAM on the RP.

rommon

1> dir bootflash:

 

 

File size

Checksum

File name

3277967 bytes (0x32048f)

0x6b331e30

gsr-p-mz.120-7.4.5

rommon

2>

 

 

If the memory contains the desired Cisco IOS boot image, proceed to the “Booting from the Cisco IOS Software Image” section on page 4-12.

If the onboard flash memory does not contain the desired Cisco IOS boot image, proceed to the next step.

Step 2 Enter the dir slotn: command, where n represents either slot 0 (0) or slot 1(1) to find a valid image by examining the contents of the flash memory card.

The following example shows the contents of the flash memory card in slot 0:

rommon

2> dir slot0:

 

 

File size

Checksum

File name

3277967 bytes (0x32048f)

0x6b331e30

gsr-p-mz.120-7.4.5

rommon

3>

 

 

After you locate a valid boot image, proceed to the “Booting from the Cisco IOS Software Image” section on page 4-12.

Booting from the Cisco IOS Software Image

To boot an image manually, issue the appropriate ROM monitor mode boot command after locating a valid Cisco IOS software image. Boot the image using one of the boot commands shown in Table 4-3.

 

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

4-12

OL-11496-01

Image 12
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