Password recovery of a Cisco router -- Jacob Mackowski
1. Passwordrecoveryof a CiscoRouter1800-2900 series -June 20th
2014 J.M
1.ConnectSerial cable toserial portom back of computer.Thiscan be eitheraCiscoserial torollover
cable or rollovercable withserial toRJ45 adapter.
2. Connectto rollovercable toConsole portonrouter.
3. Turn on Puttyclientandpress powerbutton.
4. As soonas the routerstarts loadingpressCtrl Breakkeysat the same time.If thisdoesnotwork there
are alternate instructionsin4.a
4a. While the routerisloadingonthe Puttywindow clickthe PuttyIcon
a. ClickSpecial commandoption
b. Clickbreakinspecial commandoption
5 youshouldhave a promptthat saysrommonif step4 was executedcorrectly. Inrommonprompt
type confreg0x2142. ( Routersare setto boot confreg0x2102. Thistellsthe routerto loadstartup
configat boot.Changingthe configregisterto0x2142 tellsthe routerto ignore the startupconfigand to
bootto factory defaultwithoutconfig.)
2. Passwordrecoveryof a CiscoRouter1800-2900 series -June 20th
2014 J.M
6. AftertypingConfreg0x2142 instep5 the device will tellyoutoreboot.Type boot
7. If the Registrywaschangedto 0x2142 like instep5 successfullythenyoushouldbe asked:
Wouldyoulike toenterthe initial configurationdialog?[yes/no]:
Type N for No
3. Passwordrecoveryof a CiscoRouter1800-2900 series -June 20th
2014 J.M
8. You shouldgeta prompt “Router>”This islow level andtoconfigure the routeryouneedtotype
“en” forenable
Then“Conf t” for Configure Terminal.
9. Type:
config-register0x2102”
10. Type:
do copy start run
Pressentertoconfirmfilename [running-config]
11. The router will settothe configthat wasbypassed,the original configwiththe original passwords.
4. Passwordrecoveryof a CiscoRouter1800-2900 series -June 20th
2014 J.M
To change the enable passwordforprivilege configmode
1.type:
enable secret<new password>
For my configIdidenable secret cisco where cisco isthe password.
Note:
Routername
changedwhen
the copy start run commandissued
2. Nextchange the console passwords.The commandislistedinpicbelow
commands:
line con0
pass <newpassword>
login
5. Passwordrecoveryof a CiscoRouter1800-2900 series -June 20th
2014 J.M
line vty0 4
pass <newpassword>
login
To blowawayoriginal configtype:
do erase startup-config
Pressentertoconfirmdeletion.Thenpowerdownrouter