Cisco Systems GRP-B manual Recovering Lost Password

Page 47

Implementing Additional Configuration and Maintenance Tasks

Recovering from Locked Blocks in Flash Memory Cards or Flash Disks

A locked block in Flash memory cards or Flash disks occurs when power is lost, or a Flash memory card or Flash disk is unplugged during a write or erase operation. When a block of Flash memory is locked, it cannot be written to or erased, and the operation will consistently fail at a particular block location. The only way to recover from locked blocks is to reformat the Flash memory card or Flash disk with the format command. (See the “Formatting a Flash Memory Card or Flash Disk” section on page 37.)

Caution Formatting a Flash memory card or Flash disk erases its data.

Recovering Lost Password

This section provides information on how to recover a lost password.

The following overview describes this process:

1.Use the show version command to note the existing software configuration register value.

2.Break to the bootstrap program prompt.

3.Change the configuration register to ignore NVRAM.

Note A key to recovering a lost password is to set the configuration register so that the contents of NVRAM are ignored (0x0040), allowing you to see your password.

4.Enter privileged level in the system EXEC.

5.Use the show startup-configcommand to display the enable password.

6.Change the configuration register value back to its original setting. Use the following procedure to recover a lost password.

Note If the enable password is encrypted, the following password recovery procedure will not work and you will have to reconfigure the system; you will not be able to reboot it. To reconfigure the system, use the displayed configuration, which is shown using the show startup-configEXEC command.

(See Step 11.)

Step 1 Attach an ASCII terminal to the GRP console port.

Step 2 Configure the terminal to operate at 9600 bps, 8 data bits, no parity, 2 stop bits (or to whatever settings the console port is set).

Step 3 Enter the show version command to display the existing configuration register value. Note this value for later use.

Step 4 If Break is disabled, power cycle the router. (To power cycle, turn off power, wait 5 seconds, then turn it on again.) If Break is enabled on the router, press the Break key or send a break by holding down the Control key and pressing the right square bracket key (^]); then proceed to Step 5.

Step 5 Within 5 seconds of turning on the router, press the Break key. This action causes the terminal to display the bootstrap program prompt as follows:

rommon 1>

Recovering Lost Password

 

78-4339-09

47

 

 

 

Image 47
Contents Document Contents Gigabit Route Processor Installation and Configuration NoteGRP Redundancy Important InformationRouter Information Supported PlatformsGRP Functions Product OverviewCisco IOS Software Requirements Related DocumentationCisco IOS Software GRP ComponentsGRP Horizontal Orientation Quantity Description Location Memory ComponentsType Flash Memory SramDisplay LEDs Soft Reset SwitchSystem Status LEDs Status LEDsEthernet Port Flash Card SlotsAsynchronous Serial Ports Translated Safety Warnings and Agency Approvals Preparing for InstallationSafety Guidelines Europe EU Electromagnetic Compatibility Regulatory StatementsFCC Class a Compliance CanadaPreparing for Installation Class a Notice for Korea Preventing Electrostatic DischargeWorking with Electrical Equipment Removing a GRP Replacing a GRPRequired Tools and Parts Shows the ejector levers To remove a GRP, follow these steps Turn off system power Installing a GRP Console Port Pin Signal Direction Description Connecting to the Console PortEthernet Interface Receptacles, Cables, and Pinouts Connecting to the Auxiliary PortConnecting to the Ethernet Port Signal Direction DescriptionRJ-45 Receptacle and Plug Horizontal Orientation Pin DescriptionMII Connections Pin Signal Input Output Input/Output DescriptionRJ-45 Ethernet Interface Cable Connection ProcedureConnecting MII or RJ-45 Cables to GRP Vertical Orientation Starting the System and Observing Initial Conditions GRP Boot Process OverviewLED Display Description ProcessorStarting the System and Observing Initial Conditions Verifying Interface Status GRP LEDs Partial Front Panel View Configuring the Ethernet InterfaceUsing Configuration Mode to Configure the Ethernet Interface Implementing Additional Configuration and Maintenance Tasks Configuring the Software Configuration RegisterBit Hexadecimal Description Boot Field Settings and the boot CommandBoot Field Description Changing Configuration Register Settings Action/File Name Bit Configuration Register Bit MeaningsBaud Bit Bit Address net hostFlash Disks and Flash Memory Cards in the GRP Installing and Removing Flash Memory Card or Flash Disk Formatting a Flash Memory Card or Flash Disk ATA Flash Disk Boot Image Support RequirementsRouter# format slot0 Software Commands Associated with Flash Memory Specifying Cisco IOS Image Used to Boot the SystemRouter# squeeze slot0 Enabling Booting from Flash MemoryRouter# copy tftpmyfile1 slot0myfile1 Copying Files to Flash MemoryRouter# copy tftpnew.image slot0new.image Router# copy slot1image.new slot0image.new Router# config t Routerconfig# no boot system Router# copy startup-config slot0myfile2 Use the copy running-config slot0filename command as follows Recovering Lost Password Initialize the router by entering the i command as follows Locations of GRP Memory Components Upgrading GRP MemoryMEM-GRP/LC-64=2 Removing DIMMs Using Dimm Socket Release Lever to Remove DIMMsHandling a Dimm Installing New DIMMsCisco.com Checking the Dimm InstallationObtaining Documentation Cisco TAC Website Documentation FeedbackObtaining Technical Assistance Ordering DocumentationTAC Case Priority Definitions Obtaining Additional Publications and InformationOpening a TAC Case Obtaining Additional Publications and Information 78-4339-09