Cisco Systems 12410, 12010, 12810 manual Recovering a Lost Password, Rommon 1 config-register

Page 41

Chapter 4 System Startup and Basic System Configuration

Recovering a Lost Password

Recovering a Lost Password

Use the following procedure to recover a lost password.

Note This procedure does not work for password recovery if the enable password is encrypted—you must reconfigure the system before attempting a reboot (see the “Configuring the Router” section on page 4-14).

Step 1 Enter the show version command at the privileged EXEC mode prompt to display the existing software configuration register value.

Milo# show version

.

.

.

Configuration register is 0x141

Write this value on paper for use in Step 10.

Step 2 Enter the reload command to boot the system and press the Break key within 5 seconds to display the ROM monitor prompt.

Milo# reload

rommon 1>

If the Break function is disabled, power off the power supplies, wait for at least 5 seconds, and then restore power. Press the Break key within 5 seconds of powering on the router.

Step 3 Enter the config-registercommand and answer yes to change the configuration settings and then to ignore the system configuration information.

rommon 1> config-register

Configuration Summary enabled are: console baud: 9600

boot: image specified by the boot system command

or default to: cisco2-prp

do you wish to change the configuration? y/n [n]: y enable “diagnostic mode”? y/n [n]:

 

 

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

 

 

 

 

 

 

OL-11496-01

 

 

4-41

 

 

 

Image 41
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 Cd Command Flash Memory CommandsPwd Command Milo# dir slot0 Dir CommandDelete Command Milo# squeeze slot0 Squeeze CommandCopying Image Files to or From Flash Memory Booting from Flash MemoryMiloconfig# boot system flash slot0myfile1 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 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