Did you enjoy this article?
(total 5 votes)
Newsletter
Subscribe to newsletter:
Poll: memory
How much memory in your computer do you have?
The part that matters in the configuration register here is the sixth bit. When this bit is off, the router looks into the Non-Volatile Random Access Memory (NVRAM) for the configuration. If the bit is on, the router neglects the contents of NVRAM and acts as if there is no (startup-config). So, to get things going when you have forgotten the password, or a previous administrator does not give you the password due to lack of documentation, you can bypass this problem.
Go through the following steps carefully:
1. Interrupt the router booting operation. This is done by pressing (Ctrl+Break) key simultaneously as soon as you turn on the router. This step will get you to the ROM monitor mode (rommon).
You will have the following:
Code:
System Bootstrap, Version 11.3(2)XA4, RELEASE SOFTWARE (fc1)
Copyright (c) 1999 by cisco Systems, Inc.
TAC:Home:SW:IOS:Specials for info
PC = 0xfff0a530, Vector = 0x500, SP = 0x680127b0
C2600 platform with 32768 Kbytes of main memory
PC = 0xfff0a530, Vector = 0x500, SP = 0x80004374 monitor:
command "boot" aborted due to user interrupt
rommon 1>
2. Now you should change the value of the configuration register in order to make the router neglect the contents of the NVRAM in the next boot up. This is achieved using the following command:
Code:
rommon 1 > confreg 0x2142
3. Perform a restart to the router using the following command:
Code:
rommon 1 > reset
Code:
Router#copy start run
Now you put a new password or passwords if you may:
Code:
Router(config)#enable secret blabla
5. To get things going back to normal, change the value of the configuration register to its original form (0x2102) using the following global configuration command:
Code:
Router(config)#config-register 0x2102
Code:
Router#copy run start
Code:
Router#reload










