Lab 06 - Password Recovery Trouble Shooting Let us assume that you have a router and you don’t know the enable secret password. First and foremost you must have physical access to the router to perform password recovery. Bit 6 defines if the configuration file will be loaded from NVRAM. Since there is a password in the configuration file that we do not know, we will want to set bit 6 to 1. If bit 6 is 0 then the router will load the configuration file from NVRAM. If bit 6 is 1 then the router will not load the configuration file from NVRAM. Configuration Register represented in Decimal The following are the steps to recover from a lost password. 1. Turn the router off, turn the router on, and within 60 seconds issue the break sequence of your terminal emulation package. If you are using hyperterminal that would be . 2. You will now be in ROM monitor mode indicated by the > prompt. Our goal here is to turn bit 6 on, so if the configuration register is set to 0x2102, we want to change the register to 0x2142. To determine the current configuration register setting use the following command: >e/s 2000002 To change the register: >o/r 0x2142 To re-initialize the router >I 3. After the router prompt appears get into the privileged mode and copy the backup configuration file to RAM. 4. Get into the configuration mode and key in your new password 5. Change the configuration register back to original setting 6. Perform a no-shut on all interfaces 7. Copy the running configuration to NVRAM All of the steps are in bold System Bootstrap, Version 5.2(8a), RELEASE SOFTWARE Copyright (c) 1986-1995 by cisco Systems 2500 processor with 16384 Kbytes of main memory Abort at 0x10EA87C (PC) break sequence issued here >e/s2000002 2000002: 2102 use q to quit the examine mode >o/r0x2142 >i System Bootstrap, Version 5.2(8a), RELEASE SOFTWARE Copyright (c) 1986-1995 by cisco Systems 2500 processor with 16384 Kbytes of main memory F3: 7564496 94188 304272 at 0x3000060