Description
This document describes the password recovery procedure for the Cisco 800.
Step-by-Step Procedure
Attach a terminal or PC with terminal emulation to the console port of the router. Use the following terminal settings:
9600 baud rate
No parity
8 data bits
1 stop bit
The required console cable specifications are described in Cabling Guide for RJ-45 Console and AUX Ports (Cisco's 1000 series, 2500 series, and AS5100 ).
Type show version and record the setting of the configuration register. Click here to see output of a show version command.
The configuration register setting is usually 0x2102 or 0x102.
Using the switch, turn off the router and then turn it on.
Press Break on the terminal keyboard within 60 seconds of the powerup to put the router into ROMMON.
If the break sequence doesn't work, see Possible Key Combinations for Break Sequence During Password Recovery for other key combinations.
Type set ios-conf = 142 at the boot # prompt.
If Flash is intact, the best setting is 0x42.
If the Flash is not installed or is erased, use the 0x41 setting. Note that with this setting you can view or erase the configuration but cannot change the password.
Type boot at the boot #> prompt to initialize the router.
The router reboots but ignores its saved configuration.
Type no after each setup question or press Ctrl-C to skip the initial setup procedure.
Type enable at the Router> prompt.
You'll be in enable mode and see the Router # prompt.
Important Type config mem or copy start running to copy the nonvolatile RAM (NVRAM) into memory. Do not type config term.
Type wr term or show running.
The show running and wr term commands show the configuration of the router. in this configuration you see under all the interfaces the shutdown command, which means all interfaces are currently shutdown. also, you can see the passwords either in encrypted or unencrypted format.
Type config term and make the changes.
The prompt is now hostname (config )#.
Type enable secret .
Issue the no shutdown command on every interface that is used. If you issue a show ip interface brief command, every interface that you want to use shocould be "up ".
Type config-register 0x2102, or the value you recorded in step 2.
Press Ctrl-z to leave the configuration mode.
The prompt is now hostname #.
16. TypeWrite memOrCopy running startupTo commit the changes.
Router> show version
Cisco Internetwork Operating System Software
IOS (tm) C800 Software
(C800-Y6-MW), Version 12.1 (1), release software (fc1)
Copyright (c) 1986-2000 by cisco Systems, Inc.
Compiled Tue 14-Mar-00 16:01 by cmong
Image text-base: 0x000EA000, data-base: 0x005D3000
ROM: TinyROM version 1.0 (3)
Router uptime is 2 days, 3 hours, 8 minutes
System returned to ROM by power-on
System image file is "flash: c800-y6-mw.121-1"
Cisco C801 (MPC850) processor (revision 0) with 51428 K bytes of virtual memory.
Processor board ID JAD03050229
CPU part number 33
Bridging software.
Basic Rate ISDN software, Version 1.1.
1 Ethernet/IEEE 802.3 interface (s)
1 ISDN Basic Rate interface (s)
12 M bytes of physical memory (DRAM)
8 K bytes of non-volatile configuration memory
8 M bytes of flash on board (4 M from flash card)
Configuration register is 0x2102
! --- The router was just powercycled and during bootup a break sequence was sent to the router.