11-13-2006 07:40 AM - edited 03-05-2019 12:46 PM
I have a cisco 1841 router and setup the default config a few months ago and for some reason I cannot remember the password.
I would like to start over and just rebuild the thing, or is it easier to just recover the password? Of course Im not sure how to do either.
Some tips or documentation would be great thanks.
Solved! Go to Solution.
11-13-2006 07:48 AM
Hi ,
*** Router config will be present as it is after recovering password.
Check the below link for password recovery .
PASSWORD RECOVERY
---------------------------------
TO MAKE A PASSWORD RECOVEY YOU MUST BE DIRECTLY CONSOLED TO THE ROUTER.
POWERCYCLE THE ROUTER AND ENTER THE BREAK SEQUENCE
?CTRL+BREAK or BTRL+BREAK+F6?
YOU WILL BE IN ROMMON MODE:
rommon 1>confreg 0x2142
rommon 2>reset (if no reset powercycle the router)
YOU WILL BE ASKED TO GET IN THE CONFIGURATION MODE, TYPE NO
Enter in the configuration mode? N
press return go get started
Router>enable (won?t ask for password, if it does go to step 1)
Router#show start
HIGHLIGHT EVERYTHING AND MAKE A COPY OF THE CONFIGURATION INTO A NOTEPAD (this is very
important, it?s to do a backup of your configuration, just to have it in case something
goes wrong)
Router#copy start run
(destination file run: press enter)
Router#
Router#config t
*** To clear the enable password ****
Router(config)#no enable secret
Router(config)#no enable password
**** To clear the telnet password*******
Router(config)#line vty 0 4
Router(config-line)#no login
Router(config-line)#no login local
Router(config-line)#no password
Router(config-line)# exit
*** to clear the console password ***
Router(config)#line con 0
Router(config-line)#no login
Router(config-line)#no login local
Router(config-line)#no password
Router(config-line)# exit
Router(config)#config-register 0x2102
Router(config)#exit
Router#write mem
Router#show ver (make sure that the config register is set to 0x2102)
Router#reload
Confirm with reload? Y
Router(config)#exit
Hope it helps you.Plz rate it.
Thanks,
satish
11-13-2006 07:48 AM
Hi ,
*** Router config will be present as it is after recovering password.
Check the below link for password recovery .
PASSWORD RECOVERY
---------------------------------
TO MAKE A PASSWORD RECOVEY YOU MUST BE DIRECTLY CONSOLED TO THE ROUTER.
POWERCYCLE THE ROUTER AND ENTER THE BREAK SEQUENCE
?CTRL+BREAK or BTRL+BREAK+F6?
YOU WILL BE IN ROMMON MODE:
rommon 1>confreg 0x2142
rommon 2>reset (if no reset powercycle the router)
YOU WILL BE ASKED TO GET IN THE CONFIGURATION MODE, TYPE NO
Enter in the configuration mode? N
press return go get started
Router>enable (won?t ask for password, if it does go to step 1)
Router#show start
HIGHLIGHT EVERYTHING AND MAKE A COPY OF THE CONFIGURATION INTO A NOTEPAD (this is very
important, it?s to do a backup of your configuration, just to have it in case something
goes wrong)
Router#copy start run
(destination file run: press enter)
Router#
Router#config t
*** To clear the enable password ****
Router(config)#no enable secret
Router(config)#no enable password
**** To clear the telnet password*******
Router(config)#line vty 0 4
Router(config-line)#no login
Router(config-line)#no login local
Router(config-line)#no password
Router(config-line)# exit
*** to clear the console password ***
Router(config)#line con 0
Router(config-line)#no login
Router(config-line)#no login local
Router(config-line)#no password
Router(config-line)# exit
Router(config)#config-register 0x2102
Router(config)#exit
Router#write mem
Router#show ver (make sure that the config register is set to 0x2102)
Router#reload
Confirm with reload? Y
Router(config)#exit
Hope it helps you.Plz rate it.
Thanks,
satish
11-13-2006 08:24 AM
Thanks alot Satish, that worked great, thanks alot.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide