What's Popular

Meh, Whatever is Featured

Linking Active Directory to Palo Alto

 ###First you need to create a server profile under the LDAP section. DEVICE>Server Profiles>LDAP then click on the Add down at the bo...

Tuesday, March 10, 2020

Reset the Password on Router without Losing the Old Configuration File

• Console cable needed on router
• Power off router
• Turn on router and issue the break command through Putty
• In rommon, hit question mark to see your options
o You should see confreg
• Change confreg to 0x2142
o >confreg 0x2142
• Reset the router
o >reset
• Once the router reboots, cancel the initial setup dialog. You just need the old startup-config
o >show startup-config
• Once you verify you see your old file, copy the old file to the running-config
o #copy startup-config running-config
• You are now in your old config file without the passwords. Now you can reset your password:
o #conf t
o #enable secret cisco
o #exit
o #copy run start
• Next, you need to change the configreg entry from when we changed it in ROMMON.
o #conf t
o #config-register 0x2102
o #exit
o #write
• Finally, you want to ensure your interfaces are all up since sometimes they go into admin down state and need to be brought up manually. You can reboot if necessary, but now you have access back into the router.