<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>phirebird &#187; password reset</title>
	<atom:link href="http://www.phirebird.net/tag/password-reset/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.phirebird.net</link>
	<description>Yet Another IT Site</description>
	<lastBuildDate>Sat, 24 Apr 2010 15:27:50 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Cisco router password reset / recovery</title>
		<link>http://www.phirebird.net/2009/06/cisco-router-password-reset-recovery/</link>
		<comments>http://www.phirebird.net/2009/06/cisco-router-password-reset-recovery/#comments</comments>
		<pubDate>Tue, 02 Jun 2009 23:28:55 +0000</pubDate>
		<dc:creator>shands</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[password reset]]></category>

		<guid isPermaLink="false">http://www.phirebird.net/?p=57</guid>
		<description><![CDATA[This is something that I&#8217;ve commited to memory now (sad, I know) but here it is &#8211; the password recovery procedure (tested on 800, 1700, 1800, 2600, 3600  series routers &#8211; you get the idea &#8211; most of them!).
Get a console cable rigged up and your favourite terminal application. Make sure this works first and then [...]]]></description>
			<content:encoded><![CDATA[<p>This is something that I&#8217;ve commited to memory now (sad, I know) but here it is &#8211; the password recovery procedure (tested on 800, 1700, 1800, 2600, 3600  series routers &#8211; you get the idea &#8211; most of them!).</p>
<p>Get a console cable rigged up and your favourite terminal application. Make sure this works first and then turn on / reboot the router.</p>
<p>When the router is &#8216;Self decompressing the image&#8217; hit CTRL+C. If nothing seems to happen &#8211; check your terminal app for keyboard mappings, etc (I know that PuTTY needs a bit of playing with. HyperTerminal works with the defaults)</p>
<p>The next stage is to alter the config register to make it &#8216;ignore&#8217; the startup-config on next boot (which is where your passwords are stored). You should check what your original config register is before you change it &#8211; but if you know what it was, you probably wouldn&#8217;t be reading this!! It&#8217;s usually safe to assume anyway that you want to set the config register to 0&#215;2142. So, at the prompt:</p>
<blockquote><p>rommon 1&gt; confreg 0&#215;2142<br />
rommon 2&gt; reset</p></blockquote>
<p>The router should now be resetting itself as if it didn&#8217;t have any config &#8211; and start to run through the &#8216;Initial Setup&#8217;. Hit CTRL+C and you&#8217;ll drop to the prompt. The trick is to get yourself into priviledged mode, copy over your startup config to &#8216;running&#8217; and then set your new password(s). So:</p>
<blockquote><p>Router&gt; en<br />
Router# copy startup-config running-config<br />
phbrouter#</p></blockquote>
<p>Note that you&#8217;ll see your interfaces being brought up, and other status messages to signify the router is/has been configured. What you do at this point depends entirely on your configuration. Chances are that you&#8217;ll want to set a new enable password, but you may also want to reset local user passwords, console passwords, etc. I&#8217;ll show you how to reset the enable secret (but make sure to do a &#8217;sh run&#8217; to check for others):</p>
<blockquote><p>phbrouter# conf term<br />
phbrouter(config)# enable secret <em><strong>&lt;new password&gt;</strong><br />
</em>phbrouter(config)# exit<br />
phbrouter#</p></blockquote>
<p>Issue a quick &#8216;wr mem&#8217; and your new config will be written. Finally, you&#8217;ll need to set your config register back to 0&#215;2102 (to tell the router to no longer ignore your startup-config):</p>
<blockquote><p>phbrouter# conf t<br />
phbrouter(config)# config-register 0&#215;2102<br />
phbrouter(config)# exit<br />
phbrouter# wr mem</p></blockquote>
<p>Done! Reboot and you should be able to use your new password(s).  Note that on some IOS images, I&#8217;ve noticed that the interfaces adopt the shutdown state. Easily rectified by going into configuration mode, and issuing a &#8216;no shutdown&#8217; for each interface.</p>
<p>&nbsp;</p>
<p>Did you find this hint useful? Are you looking to learn more? Well, here&#8217;s a few books that I&#8217;ve found useful &#8211; have a goosie!</p>
<table width="100%">
<tr>
<td valign="top" align="center"><a href="http://www.amazon.co.uk/gp/product/0072263830?ie=UTF8&#038;tag=beabi-21"><img src="http://ecx.images-amazon.com/images/I/51OzKwtnAcL._SL100.jpg" border="0"><br />
Cisco: A Beginner&#8217;s Guide</a></td>
<td>&nbsp;</td>
<td valign="top" align="center"><a href="http://www.amazon.co.uk/gp/product/0470110082?ie=UTF8&#038;tag=beabi-21"><img src="http://ecx.images-amazon.com/images/I/51BHKGcPzsL._SL100.jpg" border="0"><br />
CCNA &#8211; Cisco Certified Network Associate Study Guide</a></td>
<td>&nbsp;</td>
<td valign="top" align="center"><a href="http://www.amazon.co.uk/gp/product/076451668X?ie=UTF8&#038;tag=beabi-21"><img src="http://ecx.images-amazon.com/images/I/51NAGK3Z2FL._SL100.jpg" border="0"><br />
Cisco Networking for Dummies</a></td>
<td>&nbsp;</td>
<td valign="top" align="center"><a href="http://www.amazon.co.uk/gp/product/0596527225?ie=UTF8&#038;tag=beabi-21"><img src="http://ecx.images-amazon.com/images/I/51HupjWNLoL._SL100.jpg" border="0"><br />
Cisco IOS in a Nutshell &#8211; O&#8217;Reilly</a></td>
</tr>
</table>
<p>&nbsp;<br />
<br />&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.phirebird.net/2009/06/cisco-router-password-reset-recovery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
