Cisco Systems 12810, 12010, 12410 manual Low-Order Bits in the Software Configuration Register

Page 37

Chapter 4 System Startup and Basic System Configuration

Configuring the Software Configuration Register

Low-Order Bits in the Software Configuration Register

This section provides detail about of the low-order bits in the software configuration register and how they interact during the router boot process.

As described in the “Setting Software Configuration Settings” section on

page 4-33, the boot field setting determines the source of the Cisco IOS software image used to boot the router.

If you set the boot field value to 0 (0x0000), you must boot the operating system manually by entering the boot command at the ROM monitor prompt (rommon>).

If you set the boot field value to 0x2 through 0xF and a valid boot system command is stored in the configuration file, the router boots the Cisco IOS software image as directed by that value.

If no boot system command is present in the configuration file, the router forms a default boot filename and attempts to acquire that file from a network TFTP server.

In the following example, the software configuration register is set to boot the router from the flash memory SIMM on the RP, and to ignore the Break function at the next reboot of the system (see Table 4-4):

Milo# configure terminal

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

Milo(config)# config-register 0x0102

Milo(config)# boot system flash filename

Ctrl-Z

Milo#

With the configuration register set to 0x0102, the system computes a default boot filename. In forming this filename, the system starts with cisco and appends the octal equivalent of the boot field number, a hyphen, and the processor type (grp or prp).

Table 4-6lists the range of possible computed default filenames for booting the system over the network. Note, however, that a valid boot system configuration command stored in the NVRAM configuration file overrides any computed default filename for booting over the network.

 

 

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

 

 

 

 

 

 

OL-11496-01

 

 

4-37

 

 

 

Image 37
Contents System Startup and Basic System Configuration Sources of Cisco IOS Software Preconfiguration RequirementsBoot Process Overview Powering On the Router and Observing the Boot Process LED Display1 Meaning Source ProcessorPRI LED Display Meaning SourceMII Line Card Alphanumeric LED Displays-Partial View Shown Meaning SourceRomi OL-11496-01 Manually Booting the System Dir bootflash Booting from the Cisco IOS Software ImageLocating a Valid Cisco IOS Software Image Dir slot0Boot flash Command PurposeConfiguring the Router Cisco IOS User Interface Cisco IOS User Interface Command ModesPrivileged Exec Mode User Exec ModeInterface Configuration Mode Global Configuration ModeSubinterface Configuration Mode Using Setup for Configuration ChangesMay enter a question mark ? for help SDCC1/0 No ip routing Configuring Global Parameters Using the Setup Facility Configuring Host Name Configuring Protocols Configuring Network InterfacesConfiguring Line Card Interfaces Milo# show version Enter the enable command and password if prompted Using Global Configuration ModeMilo# configure terminal Verifying Running Configuration File SettingsMilo# 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 Boot Field Setting Software Configuration SettingsCiscobootfieldvalue-processorname Changing Software Configuration Register Settings Miloconfig# config-register 0xvalue Reboot the systemLow-Order Bits in the Software Configuration Register Action/Filename Bit Bit Address net host High-Order Bits in the Software Configuration Register9600 Rommon 1 config-register Recovering a Lost PasswordEnter the initialize command to initialize the router Milo# show startup-config Installing and Removing a Flash Memory Card Using RP Flash Memory CardsOL-11496-01 Installing and Removing a Flash Memory Card Milo# format slot0 Formatting a New Flash Memory CardSpecifying a Cisco IOS Software Image to Boot the System Pwd Command Flash Memory CommandsCd Command Delete Command Dir CommandMilo# dir slot0 Milo# squeeze slot0 Squeeze CommandMiloconfig# boot system flash slot0myfile1 Booting from Flash MemoryCopying Image Files to or From Flash Memory Milo# copy tftpmyfile1 slot0myfile1 Milo# copy tftpfilename bootflashslot0slot1 filenameCopying a Cisco IOS Software Image into a Flash Memory Card Milo# copy tftpnew.image slot0new.image Milo# copy slot1image.new slot0image.new Copying Cisco IOS Software Images Between Flash Memory CardsMilo# configure terminal Copy startup-config slot0 slot1 filename Milo# show bootvarMilo# copy startup-config slot0myfile2 Milo# copy running-config slot0myfile2 Copy running-config slot0slot1filenameMilo# 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