11-30-2023 08:57 AM - last edited on 02-07-2024 10:03 PM by Translator
Hello All,
i have a Cisco ISR router model 4321 and need to do lost password recovery but every time i follower below steps i lose current configurations.
Cisco Router password recovery step by step
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Step one,get into the rommon mode by breaking into the rommon moode during the bootup.
after you into the rommon mode, change the register configuratiobs, 0x2142 as below
rommon 1 > confreg 0x2142
!
Step2, reset the router
+++++++++++++++++++++++++
rommon 2 > Reset
!
Step 3,Skip Initial Configuration Dialog:
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Would you like to enter the initial configuration dialog? [yes/no]: no
!
Step 4,Skip Initial Configuration Dialog:
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Enter Privileged EXEC Mode:
Router> enable
Router# copy startup-config running-config
Step 5,change the password,
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Router# configure terminal
Router(config)# enable secret NEW_PASSWORD
Router(config)# exit
Step 6,Change Configuration Register Back:
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Router# configure terminal
Router(config)# config-register 0x2102
Router(config)# exit
Step 6,Change Configuration Register Back:
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Router# write memory
Router# reload
can someone kindly help me to show me how to replace a lost username and password recovery without losing the current configurations please? i cannot afford to lose running configurations on the route as i do not have a backup.
Many thank you.
Solved! Go to Solution.
11-30-2023 09:08 AM
i follow most of the time works for me :
when you are in #you can copy the config show run (to notepad) and save out of box, also make sure you make regular backup to avoid loosing the woprking config.
11-30-2023 09:08 AM
i follow most of the time works for me :
when you are in #you can copy the config show run (to notepad) and save out of box, also make sure you make regular backup to avoid loosing the woprking config.
06-17-2024 07:56 AM
This is not working for me. I can try all day long and it will always boot to username: .
I entered rommon>1 and typed confreg 0x2142 and reset. The router reset and booted all the way to username: time after time.
I then tried https://www.cisco.com/c/en/us/td/docs/routers/access/4400/troubleshooting/guide/isr4400trbl/isr4400trbl02.html but get the same result. I have done this before and never had a problem, now on the last three 4351 ISR's I am experiencing the same symptoms, not able to log in to exec mode
Any help is appreciated.
06-18-2024 10:40 PM
I suggest to open a new post referring this post and post complete boot log on the new post so we can understand what is the issue.
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