Petri.com forums Home Forums Start Page Forums Frequently Asked Questions FAQ Member List Members List
Go Back   Petri IT Knowledgebase Forums > Networking > Cisco Routers & Switches How-to
Petri.com is happy to award RicklesP the title of Most Valuable Member !!!
Register Calendar Calendar Search Petri IT Knowledgebase Forums Search Todays Posts Today's Posts Mark Forums Read
Notices

Cisco Router or Switch PASSWORD RESET instructions

Cisco Router or Switch PASSWORD RESET instructions

this thread has 3 replies and has been viewed 178654 times

Closed Thread
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11th August 2006, 17:54
daviddavis's Avatar
daviddavis daviddavis is offline
Moderator
 
 Join Date: May 2006
  6 month star 12 month star
 Location: Hilton Head, South Carolina, USA
 Posts: 685
 Reputation: daviddavis is a jewel in the roughdaviddavis is a jewel in the roughdaviddavis is a jewel in the roughdaviddavis is a jewel in the rough (348)
Arrow Cisco Router or Switch PASSWORD RESET instructions

For Future Reference, here is how to Recovery a lost Cisco router or switch password:

Please note, these are the GENERAL procedures but procedures vary on varying devices!

1. power off and back on the device
2. hold down control and hit BREAK (may have to do this a few times)
3. Once you are at the rommon> prompt, type confreg.
4. Say "n" to all options except this one:
enable "ignore system config info"? y/n [n]: y
5. Say "n" to all other options
6. once back at the rommon prompt, type reset
7. the device will reboot
8. Once the device is booted, you will know that you are bypassing the config because you will be asked this question (say no):
Would you like to enter the initial configuration dialog? [yes/no]: no
9. Once booted, if you do a show version, you will see that your config register is 0x2142.
10. Now, you can either go to enable mode and do a show startup-config to see what the enable password is OR, if you have an enable secret password set, you can replace it by doing a copy start run, then going into global configuration and creating a new enable secret with enable secret cisco, then copy it back with copy run start.
11. Now, you want to change the config register back. In global configuration, type config-register 0x2102
12. save your configuration with wr or copy run start
13. reboot the device and you should be back with your original configuration but with a password that you know!

Attached to this message is a log file of exactly how I did this on my Cisco 2600 series router.

Post your Cisco Router & Switch questions here!

-David Davis

For more complete info on all Cisco devices, see this link:
http://www.cisco.com/warp/public/474/index.shtml
Attached Files
File Type: txt Cisco Router Password Reset Log.txt (10.9 KB, 6906 views)
  #2  
Old 14th September 2006, 07:38
sco1984's Avatar
sco1984 sco1984 is offline
Member
Here to help
 
 Join Date: Nov 2004
  6 month star 12 month star
 Location: Pune city., India
 Posts: 323
  Send a message via MSN to sco1984 Send a message via Yahoo to sco1984
 Reputation: sco1984 is an unknown quantity at this point (1)
Smile Thanx !

It's an essential information. Thanx for sharing over here. Reviewing Cisco doc for
this is time consuming. Last time my 1 fresher ( Engineer at our company ) went
to another city to deleiver Cisco 2950 Switches and router's. He knew how to clear password of 2600 series router but not of Cisco Switch. We told him step
by step process. That time i also refreshed my memory...Hehe....I forgotten all
step's required to reset password of switch. I guess it's must to know thing for
every CCNA. John Chambers should take back CCNA of one who dont remember
this all..Ha !!!
Not many fresh CCNA's know about WIC1-t, WIC2-t, BRI WAN int add on
card's. In CCNA syllabus Cisco can think of adding intro of those cards... and various cables like smart serial back to back, V.35 << Very neccesary when we
have leased line and modem which has V.35 int and at router end serial ......
I also did not know about those add on cards before joining company who deals
in Cisco products. I also learnt how to remove DRAM of Cisco router. It is recomanded to replace DRAM in sequence as early due to the IOS thing ? Talking
about Cisco devices is a great fun..At Cisco forum there r all CCIE's who answers
question at various topic's.
__________________
All in 1
Solaris,Linux & Windows admin + networking.
  #3  
Old 15th September 2006, 15:01
tonyyeb's Avatar
tonyyeb tonyyeb is offline
Moderator
 
 Join Date: Dec 2004
  6 month star 12 month star
 Location: Hull, UK
 Posts: 2,182
 Reputation: tonyyeb is a jewel in the roughtonyyeb is a jewel in the roughtonyyeb is a jewel in the rough (283)
Default Re: Cisco Router or Switch PASSWORD RESET instructions

A quick addition to David's excellent instructions:

On point 2 if you cant get in using the break method from the console then on most switches you can power cycle whilsts holding the mode button. On some switches you should let go after the port 1 light has gone out. You shoudl then be able to get to the rommon prompt.

Hope this helps
__________________
Server 2000 MCP
Development: ASP, ASP.Net, PHP, VB, VB.Net, MySQL, MSSQL - Check out my blog http://tonyyeb.blogspot.com

** Remember to give credit where credit is due and leave reputation points To grant some reputation points to the user that helped you, just click on the little Yin-Yang icon on the right of the user's answer and follow the prompt. where appropriate **
  #4  
Old 11th October 2007, 14:56
daviddavis's Avatar
daviddavis daviddavis is offline
Moderator
 
 Join Date: May 2006
  6 month star 12 month star
 Location: Hilton Head, South Carolina, USA
 Posts: 685
 Reputation: daviddavis is a jewel in the roughdaviddavis is a jewel in the roughdaviddavis is a jewel in the roughdaviddavis is a jewel in the rough (348)
Default Re: Cisco Router or Switch PASSWORD RESET instructions

As a side note to this topic-

I created a free video on How to Reset or Recover your Lost Cisco Router or Switch Password

It goes through these instructions step by step
__________________
David Davis - Petri Forums Moderator & Video Training Author
Train Signal - The Global Leader in IT Video Training
TrainSignalTraining.com - Free IT Training Products
Personal Websites: HappyRouter.com & VMwareVideos.com

Last edited by daviddavis; 11th October 2007 at 15:00..
Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
2003 SBS Password Reset mrblink Forgot Administrator Password 2 12th July 2006 05:10
Netgear FR114P print server software dhrizzo Misc 5 21st February 2004 16:36
Combination of Taskpad (mmc) and reset password WaSTeiL Active Directory 2 28th January 2004 11:46


All times are GMT +3. The time now is 02:31.

Steel Blue 3.5.4 vBulletin Style ©2006 vBEnhanced
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
 

Valid XHTML 1.0!   Valid CSS!

Copyright 2005 Daniel Petri