Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Password Clearing

Status
Not open for further replies.

Biomedguy

Technical User
Joined
Dec 12, 2003
Messages
1
Location
US
How can i erase the passwords on a Cisco 1600 series router? I have no idea what the original passwords were and the password recovery requires that I already have "exec" access. Any help would be greatly appreciated.
 
1)at user exec prompt enter show version command, record settings should be 0*2102 or0*102.
2)enter config-register 0*01 exec command
3)if break is disabled turn router off wait short time turn on then within 60s press break key. may need to update version of hyperterminal.
4)terminal display should display rommon 2>
5)enter confreg 0*142 to reset config register
6)>rommon 2> 0*142
7)>initialize
8)enter no and press return
9)you get the command router>
10)enter enable command,enter show startup-config this will display the enable password in config file
11)enter configure terminal command to reset the configuration register to origonal value then ctrl z to exit config mode
12)reboot the router and enter the recovered password
 
FYI.

There is another way on the cisco 1600 series as well as some others that some folks are more comfortable with and you don't need to remember the register numbers.

Hit Break to get to rommon prompt as stated in earlier post.

at the rommon 2>confreg

then set ignore startup config to y.

You then have a clean router on bootup.

You can now do an enable, sh start to see the password UNLESS the passwords were encrypted with the enable secret command

Also some configurations encrypt the password 'service password-encryption' command so you can't see it in this case
then you:

router> enable
router# copy run start
router_host_name#

form here you can change the enable secret or password

also remember to do a no shut command on all of your interfaces (this is the default and is not overwritten by copy un start)


you then need to reboot the router to rommon again, run confreg again, then set the ignore startup config option to n

Hope this is helpful

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top