{"id":1379,"date":"2020-11-11T16:13:48","date_gmt":"2020-11-11T03:13:48","guid":{"rendered":"https:\/\/www.ronella.xyz\/?p=1379"},"modified":"2020-11-11T16:14:52","modified_gmt":"2020-11-11T03:14:52","slug":"override-the-forgotten-password-on-a-cisco-router","status":"publish","type":"post","link":"https:\/\/www.ronella.xyz\/?p=1379","title":{"rendered":"Override the Forgotten Password on a Cisco Router"},"content":{"rendered":"<h2>Pre-requisite<\/h2>\n<ul>\n<li>Putty application<\/li>\n<\/ul>\n<h2>Overriding the Forgotten Password<\/h2>\n<ol>\n<li>\n<p>Connect to <strong>cisco console<\/strong> using <strong>putty<\/strong>.<\/p>\n<\/li>\n<li>\n<p>Press the <strong>enter key<\/strong> to enter into <strong>user mode<\/strong>.<\/p>\n<\/li>\n<li>\n<p>Once in the <strong>user mode<\/strong> <em>(i.e. the prompt with greater than sign &gt;)<\/em>, <strong>reboot the cisco router<\/strong> <em>(i.e. using the physical switch of the router)<\/em>.<\/p>\n<\/li>\n<li>\n<p>Going back to your <strong>putty terminal<\/strong>, once you see any text on it, issue the <strong>break<\/strong> command.<\/p>\n<ol>\n<li>\n<p><strong>Point and click your mouse<\/strong> to the <strong>putty icon<\/strong> on <strong>putty title bar<\/strong>.<\/p>\n<p><a href=\"https:\/\/nasnz.ronella.xyz\/wordpress\/wp-content\/uploads\/2020\/11\/putty-icon.png\"><img src=\"https:\/\/nasnz.ronella.xyz\/wordpress\/wp-content\/uploads\/2020\/11\/putty-icon-300x24.png\" alt=\"\" \/><\/a><\/p>\n<\/li>\n<li>\n<p>Select <strong>Special Command<\/strong>.<\/p>\n<\/li>\n<li>\n<p>Select <strong>Break<\/strong>.<\/p>\n<blockquote>\n<p>Expect the see the rom monitor prompt as follows:<\/p>\n<pre><code>rommon 1 ><\/code><\/pre>\n<p><a href=\"https:\/\/nasnz.ronella.xyz\/wordpress\/wp-content\/uploads\/2020\/11\/rommon-prompt.png\"><img src=\"https:\/\/nasnz.ronella.xyz\/wordpress\/wp-content\/uploads\/2020\/11\/rommon-prompt-300x132.png\" alt=\"\" \/><\/a><\/p>\n<\/blockquote>\n<\/li>\n<\/ol>\n<\/li>\n<li>\n<p>Execute the following command to <strong>disable the startup-config<\/strong>:<\/p>\n<pre><code>confreg 0x2142<\/code><\/pre>\n<\/li>\n<li>\n<p>Reset cisco router using the following command:<\/p>\n<pre><code>reset<\/code><\/pre>\n<\/li>\n<li>\n<p>Expect to see the following question:<\/p>\n<pre><code>Would you like to enter the initialization configuration dialog? [yes\/no]<\/code><\/pre>\n<\/li>\n<li>\n<p>Type in <strong>no<\/strong> for the answer and press the <strong>enter key<\/strong>.<\/p>\n<\/li>\n<li>\n<p>Press the <strong>enter key<\/strong> one more time to enter into <strong>user mode<\/strong>.<\/p>\n<\/li>\n<li>\n<p>Execute the following command to enter into <strong>privilege mode<\/strong>:<\/p>\n<pre><code>enable<\/code><\/pre>\n<\/li>\n<li>\n<p><strong>Load the startup-config<\/strong> into the running-config using the following command:<\/p>\n<pre><code>copy startup-config running-config<\/code><\/pre>\n<\/li>\n<li>\n<p>On <strong>Destination filename [running-config]?<\/strong>, press the <strong>enter key<\/strong>.<\/p>\n<\/li>\n<li>\n<p>Execute the following command to enter into the <strong>configuration mode<\/strong>:<\/p>\n<pre><code>config terminal<\/code><\/pre>\n<\/li>\n<li>\n<p>Change the password using the following syntax:<\/p>\n<pre><code>enable secret &lt;PASSWORD&gt;<\/code><\/pre>\n<p><em>Example of setting <strong>cisco<\/strong> as the password:<\/em><\/p>\n<pre><code>enable secret cisco<\/code><\/pre>\n<\/li>\n<li>\n<p>Execute the following command to <strong>enable the startup-config<\/strong>:<\/p>\n<pre><code>config-register 0x2102<\/code><\/pre>\n<\/li>\n<li>\n<p><strong>Exit<\/strong> from the <strong>configuration mode<\/strong> using the following command:<\/p>\n<pre><code>exit<\/code><\/pre>\n<\/li>\n<li>\n<p><strong>Save the update on the running-config<\/strong> to the startup-config file using the following command:<\/p>\n<pre><code>copy running-config startup-config<\/code><\/pre>\n<\/li>\n<li>\n<p>On <strong>Destination filename [startup-config]?<\/strong>, press <strong>enter key<\/strong>.<\/p>\n<\/li>\n<li>\n<p><strong>Reboot the cisco router<\/strong> <em>(i.e. using the physical switch of the router)<\/em>.<\/p>\n<blockquote>\n<p>After this you have the new password in effect. <\/p>\n<\/blockquote>\n<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Pre-requisite Putty application Overriding the Forgotten Password Connect to cisco console using putty. Press the enter key to enter into user mode. Once in the user mode (i.e. the prompt with greater than sign &gt;), reboot the cisco router (i.e. using the physical switch of the router). Going back to your putty terminal, once you [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[66,10],"tags":[],"_links":{"self":[{"href":"https:\/\/www.ronella.xyz\/index.php?rest_route=\/wp\/v2\/posts\/1379"}],"collection":[{"href":"https:\/\/www.ronella.xyz\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ronella.xyz\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ronella.xyz\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ronella.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1379"}],"version-history":[{"count":1,"href":"https:\/\/www.ronella.xyz\/index.php?rest_route=\/wp\/v2\/posts\/1379\/revisions"}],"predecessor-version":[{"id":1382,"href":"https:\/\/www.ronella.xyz\/index.php?rest_route=\/wp\/v2\/posts\/1379\/revisions\/1382"}],"wp:attachment":[{"href":"https:\/\/www.ronella.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1379"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ronella.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1379"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ronella.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1379"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}