Cisco

Cisco systems are the leading supplier of networking equipment and network management for the internet. This category contains articles relating to ICND1 & ICND2 and CCNA qualifications and includes common IOS commands.

Bentley

This category contains articles relating to Microstation V8i. Bentley MicroStation V8i helps engineers, architects, GIS professionals, constructors, and owner-operators by promoting collaborative, streamlined workflows among multiple disciplines and across project teams.

Microsoft

The articles in this category cover Microsoft Windows Server, Exchange, and Windows 7 operating system platforms and products. The articles cover some of the topics on the MCSE, MCSA, MCITP and MCTS qualifications and discuss some of the new features in Windows Server 2008.

Autodesk

Autodesk are one of the market leaders for design software. This category contains articles relating to AutoCAD & Revit design software. AutoCAD is one of the world’s leading 2D and 3D CAD tools and is used extensively throughout a range of industries.

VMWare

VMware is the leading business virtualization infrastructure provider, offering the most trusted and reliable platform for building private clouds and federating to public clouds. This category includes articles relating to products such as VMWare Workstation, Server, ACE, ThinApp & ESXi.

Home » Cisco

Cisco Password Recovery

Submitted by James Gray on October 22, 2009 – 1:10 pmNo Comment

If you dont know what the enable password or enable secret password is on a router or switch you can reset it by using the information below.

Power cycle the router or switch and press Ctrl+Break on the keyboard whilst it is decompressing the image. This will put you into Rom Monitor mode with a rommon> prompt.

Self decompressing the image :
########
monitor: command “boot” aborted due to user interrupt
rommon 1 >

At the prompt enter confreg 0×2142 to change the configuration register and then restart the router/switch by using the reset command

rommon 1 > confreg 0×2142
rommon 2 >
reset

Because we changed the configuration register to 0×2142 the router/switch will ignore the startup configurtion file stored in NVRAM and proceed to load setup mode. We now need to exit from setup mode and copy the startup configuration (that the router ignored) into the running configuration. Once we have done that we can use the enable secret command to set a new password, change the configuration register back to 0×2102 and then reload the router. 

Continue with configuration dialog? [yes/no]: n


Press RETURN to get started! Router>en
Router#copy startup-config running-config
Destination filename [running-config]?
305 bytes copied in 0.416 secs (733 bytes/sec)
Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#enable secret altcontrolit
Router(config)#config-register 0×2102
 Router(config)#^Z
%SYS-5-CONFIG_I: Configured from console by console
Router#wr
Router#
reload

Once the router/switch has reloaded we should now be able to log in using the new enable secret password.

Leave a comment!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.