Upload
shogann
View
217
Download
0
Embed Size (px)
Citation preview
8/10/2019 Cisco Words e Dicas
1/19
Cisco 805
Recovering a Lost Enable Password
This appendix describes how to recover a password that you configured with the enablecommand(enable password).
Note You can recover a lost enable password, but not a password that you configured with the enablesecretcommand (enable secret password). This password is encrypted and must be replaced with a newenable secret password. See the "Hot Tips" section on Cisco Connection Online (CCO) for information onreplacing enable secret passwords.
Follow these steps to recover a lost enable password:
Step 1 Connect an ASCII terminal or a PC running a terminal emulation program to the Consoleport. For more information, see the Cisco 805 Router Hardware Installation Guide.
Step 2 Configure the terminal at 9600 baud, 8 data bits, no parity, and 1 stop bit.
Step 3 Reboot the router.
Step 4 From user EXEC mode, display the existing configuration register value:
Router> show version
Step 5 Record the setting of the configuration register. The setting is usually 0x2102 or 0x102.
Step 6 Record the break setting.
Break enabledbit 8 is set to 0.
Break disabled (default setting)bit 8 is set to 1.
Note To enable break, enter the config-register 0x01 global configuration command.
Step 7 Do one of the following:
If break is enabled, go toStep 8.
If break is disabled, turn the router to STANDBY, wait 5 seconds, and turn it to ON
again. Before the terminal displays Boot......, press Escapeor Control-C. Theterminal displays the ROM monitor prompt (boot #). Go toStep 9.
Note Some terminal keyboards have a key labeled Break. If your keyboard does not have a Break key, refer tothe documentation that came with the terminal for instructions on how to send a break.
Step 8 Send a break. The terminal displays the following prompt:
boot#
Step 9 Reset the configuration register:
boot# set ios-conf=142
http://www.cisco.com/en/US/docs/routers/access/800/805/software/configuration/guide/pwrecov.html#wp4734http://www.cisco.com/en/US/docs/routers/access/800/805/software/configuration/guide/pwrecov.html#wp4734http://www.cisco.com/en/US/docs/routers/access/800/805/software/configuration/guide/pwrecov.html#wp4734http://www.cisco.com/en/US/docs/routers/access/800/805/software/configuration/guide/pwrecov.html#wp4738http://www.cisco.com/en/US/docs/routers/access/800/805/software/configuration/guide/pwrecov.html#wp4738http://www.cisco.com/en/US/docs/routers/access/800/805/software/configuration/guide/pwrecov.html#wp4738http://www.cisco.com/en/US/docs/routers/access/800/805/software/configuration/guide/pwrecov.html#wp4738http://www.cisco.com/en/US/docs/routers/access/800/805/software/configuration/guide/pwrecov.html#wp47348/10/2019 Cisco Words e Dicas
2/19
Step 10 Initialize the router:
boot# boot [flash]
The router cycles its power, and the configuration register is set to 0x142. The routeruses the boot ROM system image, indicated by the system configuration dialog:
--- System Configuration Dialog ---
Step 11 Enter noin response to the prompts until the following message is displayed:
Press RETURN to get started!
Step 12 Press Return. The following prompt appears:
router>
Step 13 Enter privileged EXEC mode:
router> enable
The prompt changes to the privileged EXEC prompt:
router#
Step 14 Display the enable password in the configuration file:
router# show startup-config
Step 15 Enter configuration mode:
router# configure terminal
Step 16 Reset the configuration register:
router# config-register value
Specify the value that you recorded inStep 5(usually 0x2102 or 0x102).
Step 17 Press Ctrl-Zto exit configuration mode.
Note To return to the configuration being used before recovering the lost enable password, do not save theconfiguration changes before rebooting the router.
Step 18 Reboot the router, and enter the recovered password.
http://www.cisco.com/en/US/docs/routers/access/800/805/software/configuration/guide/pwrecov.html#wp4717http://www.cisco.com/en/US/docs/routers/access/800/805/software/configuration/guide/pwrecov.html#wp4717http://www.cisco.com/en/US/docs/routers/access/800/805/software/configuration/guide/pwrecov.html#wp4717http://www.cisco.com/en/US/docs/routers/access/800/805/software/configuration/guide/pwrecov.html#wp47178/10/2019 Cisco Words e Dicas
3/19
Document ID: 12732
DF
ownload
Password
Recovery
Procedure
for the
Cisco 801,802, 803,
804, 805,
811, and
813 Series
Routers
Share on printShare on
emailShare on favoritesShare
on googleShare ontwitterShare on facebook
elated Documents
Password Recovery Procedure for the Cisco 801, 802, 803, 804, 805, 811, and 813 Series Routers [Cisco 800 Series
Routers]
Password Recovery Procedure for the Cisco 806, 826, 827, 828, 831, 836, and 837 Series Routers [Cisco 800 Series
Routers]
ROMmon Recovery for the Cisco 800 Series Router
Cisco 800 Series Routers Password Recovery
Cisco IOS Software Release 12.3T New Features and Hardware [Cisco 800 Series Routers].
More...
elated Products/Technology
Cisco 800 Series Routers
elated Discussion
804 won't boot.
803 Router, Software & Documentation...
VPN Client 3.5x behind 803 with NAT to...
VPN over Cisco 800 series routers
Strip off Digit
ontentsIntroduction
Prerequisites
Requirements
Components UsedRelated Products
http://www.cisco.com/image/gif/paws/12732/pswdrec_800.pdfhttp://www.cisco.com/image/gif/paws/12732/pswdrec_800.pdfhttp://www.cisco.com/image/gif/paws/12732/pswdrec_800.pdfhttp://www.cisco.com/image/gif/paws/12732/pswdrec_800.pdfhttp://www.cisco.com/image/gif/paws/12732/pswdrec_800.pdfhttp://www.cisco.com/image/gif/paws/12732/pswdrec_800.pdfhttp://www.cisco.com/image/gif/paws/12732/pswdrec_800.pdfhttp://www.cisco.com/image/gif/paws/12732/pswdrec_800.pdfhttp://www.cisco.com/image/gif/paws/12732/pswdrec_800.pdfhttp://www.cisco.com/image/gif/paws/12732/pswdrec_800.pdfhttp://www.cisco.com/image/gif/paws/12732/pswdrec_800.pdfhttp://www.cisco.com/en/US/products/hw/routers/ps380/products_password_recovery09186a00800942c2.shtmlhttp://www.cisco.com/en/US/products/hw/routers/ps380/products_password_recovery09186a00800942c2.shtmlhttp://www.addthis.com/bookmark.php?v=250&winname=addthis&pub=ciscosupport&source=tbx-250&lng=pt-BR&s=google&url=http%3A%2F%2Fwww.cisco.com%2Fen%2FUS%2Fproducts%2Fhw%2Frouters%2Fps380%2Fproducts_password_recovery09186a00800942c2.shtml&title=Password%20Recovery%20Procedure%20for%20the%20Cisco%20801%2C%20802%2C%20803%2C%20804%2C%20805%2C%20811%2C%20and%20813%20Series%20Routers%C2%A0%20%5BCisco%20800%20Series%20Routers%5D%20-%20Cisco%20Systems&ate=AT-ciscosupport/-/-/4f9ca1cc1f18d88e/1&frommenu=1&uid=4f9ca1cc754fd42f&ct=1&pre=http%3A%2F%2Fwww.google.com.br%2Furl%3Fsa%3Dt%26rct%3Dj%26q%3Dreset%2520cisco%2520805%26source%3Dweb%26cd%3D2%26ved%3D0CDUQFjAB%26url%3Dhttp%253A%252F%252Fwww.cisco.com%252Fen%252FUS%252Fproducts%252Fhw%252Frouters%252Fps380%252Fproducts_password_recovery09186a00800942c2.shtml%26ei%3DFFycT6_YA4Lc8ASby62ZAQ%26usg%3DAFQjCNFe7sb-QUQL15tfGs7fMKSGC67hyg%26cad%3Drja&tt=0http://www.addthis.com/bookmark.php?v=250&winname=addthis&pub=ciscosupport&source=tbx-250&lng=pt-BR&s=google&url=http%3A%2F%2Fwww.cisco.com%2Fen%2FUS%2Fproducts%2Fhw%2Frouters%2Fps380%2Fproducts_password_recovery09186a00800942c2.shtml&title=Password%20Recovery%20Procedure%20for%20the%20Cisco%20801%2C%20802%2C%20803%2C%20804%2C%20805%2C%20811%2C%20and%20813%20Series%20Routers%C2%A0%20%5BCisco%20800%20Series%20Routers%5D%20-%20Cisco%20Systems&ate=AT-ciscosupport/-/-/4f9ca1cc1f18d88e/1&frommenu=1&uid=4f9ca1cc754fd42f&ct=1&pre=http%3A%2F%2Fwww.google.com.br%2Furl%3Fsa%3Dt%26rct%3Dj%26q%3Dreset%2520cisco%2520805%26source%3Dweb%26cd%3D2%26ved%3D0CDUQFjAB%26url%3Dhttp%253A%252F%252Fwww.cisco.com%252Fen%252FUS%252Fproducts%252Fhw%252Frouters%252Fps380%252Fproducts_password_recovery09186a00800942c2.shtml%26ei%3DFFycT6_YA4Lc8ASby62ZAQ%26usg%3DAFQjCNFe7sb-QUQL15tfGs7fMKSGC67hyg%26cad%3Drja&tt=0http://www.cisco.com/en/US/products/hw/routers/ps380/products_password_recovery09186a00800942c2.shtmlhttp://www.cisco.com/en/US/products/hw/routers/ps380/products_password_recovery09186a00800942c2.shtmlhttp://www.cisco.com/en/US/products/hw/routers/ps380/products_password_recovery09186a00800942c2.shtmlhttp://www.cisco.com/en/US/products/hw/routers/ps380/products_password_recovery09186a00800942c2.shtml?referring_site=smartnavRDhttp://www.cisco.com/en/US/products/hw/routers/ps380/products_password_recovery09186a00800942c2.shtml?referring_site=smartnavRDhttp://www.cisco.com/en/US/products/hw/routers/ps380/products_password_recovery09186a00800942c2.shtml?referring_site=smartnavRDhttp://www.cisco.com/en/US/products/hw/routers/ps380/products_password_recovery09186a00800942c2.shtml?referring_site=smartnavRDhttp://www.cisco.com/en/US/products/hw/routers/ps380/products_password_recovery09186a00800942bc.shtml?referring_site=smartnavRDhttp://www.cisco.com/en/US/products/hw/routers/ps380/products_password_recovery09186a00800942bc.shtml?referring_site=smartnavRDhttp://www.cisco.com/en/US/products/hw/routers/ps380/products_password_recovery09186a00800942bc.shtml?referring_site=smartnavRDhttp://www.cisco.com/en/US/products/hw/routers/ps380/products_password_recovery09186a00800942bc.shtml?referring_site=smartnavRDhttp://www.cisco.com/en/US/products/hw/routers/ps380/products_tech_note09186a008009429e.shtml?referring_site=smartnavRDhttp://www.cisco.com/en/US/products/hw/routers/ps380/products_tech_note09186a008009429e.shtml?referring_site=smartnavRDhttp://www.cisco.com/en/US/products/hw/routers/ps380/products_tech_note09186a008009429e.shtml?referring_site=smartnavRDhttp://www.cisco.com/en/US/products/hw/routers/ps380/prod_password_recoveries_list.html?referring_site=smartnavRDhttp://www.cisco.com/en/US/products/hw/routers/ps380/prod_password_recoveries_list.html?referring_site=smartnavRDhttp://www.cisco.com/en/US/products/hw/routers/ps380/prod_password_recoveries_list.html?referring_site=smartnavRDhttp://www.cisco.com/en/US/products/hw/routers/ps380/prod_bulletin09186a00801abfda.html?referring_site=smartnavRDhttp://www.cisco.com/en/US/products/hw/routers/ps380/prod_bulletin09186a00801abfda.html?referring_site=smartnavRDhttp://www.cisco.com/en/US/products/hw/routers/ps380/prod_bulletin09186a00801abfda.html?referring_site=smartnavRDhttp://tools.cisco.com/search/JSP/search-results.get?strQueryText=Password%20Recovery%20Procedure%20for%20the%20Cisco%20801,%20802,%20803,%20804,%20805,%20811,%20and%20813%20Series%20Routershttp://tools.cisco.com/search/JSP/search-results.get?strQueryText=Password%20Recovery%20Procedure%20for%20the%20Cisco%20801,%20802,%20803,%20804,%20805,%20811,%20and%20813%20Series%20Routershttp://www.cisco.com/en/US/products/hw/routers/ps380/tsd_products_support_troubleshoot_and_alerts.html?referring_site=smartnavRPThttp://www.cisco.com/en/US/products/hw/routers/ps380/tsd_products_support_troubleshoot_and_alerts.html?referring_site=smartnavRPThttp://www.cisco.com/en/US/products/hw/routers/ps380/tsd_products_support_troubleshoot_and_alerts.html?referring_site=smartnavRPThttps://supportforums.cisco.com/thread/3608?referring_site=kapi&channel=smartnavhttps://supportforums.cisco.com/thread/3608?referring_site=kapi&channel=smartnavhttps://supportforums.cisco.com/thread/3608?referring_site=kapi&channel=smartnavhttps://supportforums.cisco.com/thread/43129?referring_site=kapi&channel=smartnavhttps://supportforums.cisco.com/thread/43129?referring_site=kapi&channel=smartnavhttps://supportforums.cisco.com/thread/43129?referring_site=kapi&channel=smartnavhttps://supportforums.cisco.com/thread/72874?referring_site=kapi&channel=smartnavhttps://supportforums.cisco.com/thread/72874?referring_site=kapi&channel=smartnavhttps://supportforums.cisco.com/thread/72874?referring_site=kapi&channel=smartnavhttps://supportforums.cisco.com/thread/73998?referring_site=kapi&channel=smartnavhttps://supportforums.cisco.com/thread/73998?referring_site=kapi&channel=smartnavhttps://supportforums.cisco.com/thread/73998?referring_site=kapi&channel=smartnavhttps://supportforums.cisco.com/thread/103611?referring_site=kapi&channel=smartnavhttps://supportforums.cisco.com/thread/103611?referring_site=kapi&channel=smartnavhttps://supportforums.cisco.com/thread/103611?referring_site=kapi&channel=smartnavhttp://www.cisco.com/en/US/products/hw/routers/ps380/products_password_recovery09186a00800942c2.shtml#introhttp://www.cisco.com/en/US/products/hw/routers/ps380/products_password_recovery09186a00800942c2.shtml#introhttp://www.cisco.com/en/US/products/hw/routers/ps380/products_password_recovery09186a00800942c2.shtml#prereqhttp://www.cisco.com/en/US/products/hw/routers/ps380/products_password_recovery09186a00800942c2.shtml#prereqhttp://www.cisco.com/en/US/products/hw/routers/ps380/products_password_recovery09186a00800942c2.shtml#reqshttp://www.cisco.com/en/US/products/hw/routers/ps380/products_password_recovery09186a00800942c2.shtml#reqshttp://www.cisco.com/en/US/products/hw/routers/ps380/products_password_recovery09186a00800942c2.shtml#componentshttp://www.cisco.com/en/US/products/hw/routers/ps380/products_password_recovery09186a00800942c2.shtml#componentshttp://www.cisco.com/en/US/products/hw/routers/ps380/products_password_recovery09186a00800942c2.shtml#related_prodshttp://www.cisco.com/en/US/products/hw/routers/ps380/products_password_recovery09186a00800942c2.shtml#related_prodshttp://www.cisco.com/image/gif/paws/12732/pswdrec_800.pdfhttp://www.cisco.com/en/US/products/hw/routers/ps380/products_password_recovery09186a00800942c2.shtml#related_prodshttp://www.cisco.com/en/US/products/hw/routers/ps380/products_password_recovery09186a00800942c2.shtml#componentshttp://www.cisco.com/en/US/products/hw/routers/ps380/products_password_recovery09186a00800942c2.shtml#reqshttp://www.cisco.com/en/US/products/hw/routers/ps380/products_password_recovery09186a00800942c2.shtml#prereqhttp://www.cisco.com/en/US/products/hw/routers/ps380/products_password_recovery09186a00800942c2.shtml#introhttps://supportforums.cisco.com/thread/103611?referring_site=kapi&channel=smartnavhttps://supportforums.cisco.com/thread/73998?referring_site=kapi&channel=smartnavhttps://supportforums.cisco.com/thread/72874?referring_site=kapi&channel=smartnavhttps://supportforums.cisco.com/thread/43129?referring_site=kapi&channel=smartnavhttps://supportforums.cisco.com/thread/3608?referring_site=kapi&channel=smartnavhttp://www.cisco.com/en/US/products/hw/routers/ps380/tsd_products_support_troubleshoot_and_alerts.html?referring_site=smartnavRPThttp://tools.cisco.com/search/JSP/search-results.get?strQueryText=Password%20Recovery%20Procedure%20for%20the%20Cisco%20801,%20802,%20803,%20804,%20805,%20811,%20and%20813%20Series%20Routershttp://www.cisco.com/en/US/products/hw/routers/ps380/prod_bulletin09186a00801abfda.html?referring_site=smartnavRDhttp://www.cisco.com/en/US/products/hw/routers/ps380/prod_password_recoveries_list.html?referring_site=smartnavRDhttp://www.cisco.com/en/US/products/hw/routers/ps380/products_tech_note09186a008009429e.shtml?referring_site=smartnavRDhttp://www.cisco.com/en/US/products/hw/routers/ps380/products_password_recovery09186a00800942bc.shtml?referring_site=smartnavRDhttp://www.cisco.com/en/US/products/hw/routers/ps380/products_password_recovery09186a00800942bc.shtml?referring_site=smartnavRDhttp://www.cisco.com/en/US/products/hw/routers/ps380/products_password_recovery09186a00800942c2.shtml?referring_site=smartnavRDhttp://www.cisco.com/en/US/products/hw/routers/ps380/products_password_recovery09186a00800942c2.shtml?referring_site=smartnavRDhttp://www.cisco.com/en/US/products/hw/routers/ps380/products_password_recovery09186a00800942c2.shtmlhttp://www.cisco.com/en/US/products/hw/routers/ps380/products_password_recovery09186a00800942c2.shtmlhttp://www.cisco.com/en/US/products/hw/routers/ps380/products_password_recovery09186a00800942c2.shtmlhttp://www.addthis.com/bookmark.php?v=250&winname=addthis&pub=ciscosupport&source=tbx-250&lng=pt-BR&s=google&url=http%3A%2F%2Fwww.cisco.com%2Fen%2FUS%2Fproducts%2Fhw%2Frouters%2Fps380%2Fproducts_password_recovery09186a00800942c2.shtml&title=Password%20Recovery%20Procedure%20for%20the%20Cisco%20801%2C%20802%2C%20803%2C%20804%2C%20805%2C%20811%2C%20and%20813%20Series%20Routers%C2%A0%20%5BCisco%20800%20Series%20Routers%5D%20-%20Cisco%20Systems&ate=AT-ciscosupport/-/-/4f9ca1cc1f18d88e/1&frommenu=1&uid=4f9ca1cc754fd42f&ct=1&pre=http%3A%2F%2Fwww.google.com.br%2Furl%3Fsa%3Dt%26rct%3Dj%26q%3Dreset%2520cisco%2520805%26source%3Dweb%26cd%3D2%26ved%3D0CDUQFjAB%26url%3Dhttp%253A%252F%252Fwww.cisco.com%252Fen%252FUS%252Fproducts%252Fhw%252Frouters%252Fps380%252Fproducts_password_recovery09186a00800942c2.shtml%26ei%3DFFycT6_YA4Lc8ASby62ZAQ%26usg%3DAFQjCNFe7sb-QUQL15tfGs7fMKSGC67hyg%26cad%3Drja&tt=0http://www.addthis.com/bookmark.php?v=250&winname=addthis&pub=ciscosupport&source=tbx-250&lng=pt-BR&s=google&url=http%3A%2F%2Fwww.cisco.com%2Fen%2FUS%2Fproducts%2Fhw%2Frouters%2Fps380%2Fproducts_password_recovery09186a00800942c2.shtml&title=Password%20Recovery%20Procedure%20for%20the%20Cisco%20801%2C%20802%2C%20803%2C%20804%2C%20805%2C%20811%2C%20and%20813%20Series%20Routers%C2%A0%20%5BCisco%20800%20Series%20Routers%5D%20-%20Cisco%20Systems&ate=AT-ciscosupport/-/-/4f9ca1cc1f18d88e/1&frommenu=1&uid=4f9ca1cc754fd42f&ct=1&pre=http%3A%2F%2Fwww.google.com.br%2Furl%3Fsa%3Dt%26rct%3Dj%26q%3Dreset%2520cisco%2520805%26source%3Dweb%26cd%3D2%26ved%3D0CDUQFjAB%26url%3Dhttp%253A%252F%252Fwww.cisco.com%252Fen%252FUS%252Fproducts%252Fhw%252Frouters%252Fps380%252Fproducts_password_recovery09186a00800942c2.shtml%26ei%3DFFycT6_YA4Lc8ASby62ZAQ%26usg%3DAFQjCNFe7sb-QUQL15tfGs7fMKSGC67hyg%26cad%3Drja&tt=0http://www.cisco.com/en/US/products/hw/routers/ps380/products_password_recovery09186a00800942c2.shtmlhttp://www.cisco.com/en/US/products/hw/routers/ps380/products_password_recovery09186a00800942c2.shtmlhttp://www.cisco.com/en/US/products/hw/routers/ps380/products_password_recovery09186a00800942c2.shtmlhttp://www.cisco.com/en/US/products/hw/routers/ps380/products_password_recovery09186a00800942c2.shtmlhttp://www.cisco.com/image/gif/paws/12732/pswdrec_800.pdfhttp://www.cisco.com/image/gif/paws/12732/pswdrec_800.pdfhttp://www.cisco.com/image/gif/paws/12732/pswdrec_800.pdfhttp://www.cisco.com/image/gif/paws/12732/pswdrec_800.pdfhttp://www.cisco.com/image/gif/paws/12732/pswdrec_800.pdfhttp://www.cisco.com/image/gif/paws/12732/pswdrec_800.pdfhttp://www.cisco.com/image/gif/paws/12732/pswdrec_800.pdfhttp://www.cisco.com/image/gif/paws/12732/pswdrec_800.pdfhttp://www.cisco.com/image/gif/paws/12732/pswdrec_800.pdfhttp://www.cisco.com/image/gif/paws/12732/pswdrec_800.pdfhttp://www.cisco.com/image/gif/paws/12732/pswdrec_800.pdf8/10/2019 Cisco Words e Dicas
4/19
Conventions
Step-by-Step Procedure
Sample Output Example
Example of Enable Password Recovery
Example of Password Replacement
Cisco Support Community - Featured Conversations
Related Information
Introduction
This document describes how to recover the enable passwordand the enable secretpasswords. Thesepasswords protect access to privileged EXEC and configuration modes. The enable passwordpasswordcan be recovered, but theenable secretpassword is encrypted and must be replaced with a newpassword. Use the procedure described in this document in order to replace the enable secretpassword.
Refer toPassword Recovery Procedure for the Cisco 806, 826, 827, 828, 831, 836 and 837 Series Routersinorder to recover a password on Cisco 806, 826, 827, 828, 831, 836 and 837 Series Routers.
Note: You may encounter boot problems with some Cisco 800 Series Routers. Cisco 801, 802, 803, 804,805, 811, and 813 routers boot into TinyROM at power-up or after they save any configuration from theconsole port with Cisco IOS
Software Release 12.1(3) and later. Refer toField Notice: Cisco 801-805 and
Cisco 811 and 813 Boots into TinyROMfor details about the affected unit serial number and the procedurerequired in order to solve the boot problem.
Prerequisites
Requirements
There are no specific requirements for this document.
Components Used
The information in this document is based on these hardware versions:
Cisco 801 Series Router
Cisco 802 Series Router
Cisco 803 Series Router
Cisco 804 Series Router
Cisco 805 Series Router
Cisco 811 Series Router
Cisco 813 Series Router
The information in this document was created from the devices in a specific lab environment. All of thedevices used in this document started with a cleared (default) configuration. If your network is live, makesure that you understand the potential impact of any command.
Related Products
Refer toPassword Recovery Proceduresfor information on how to recover passwords for related products.
Conventions
Refer toCisco Technical Tips Conventionsfor information on document conventions.
http://www.cisco.com/en/US/products/hw/routers/ps380/products_password_recovery09186a00800942c2.shtml#conventionshttp://www.cisco.com/en/US/products/hw/routers/ps380/products_password_recovery09186a00800942c2.shtml#conventionshttp://www.cisco.com/en/US/products/hw/routers/ps380/products_password_recovery09186a00800942c2.shtml#topic1http://www.cisco.com/en/US/products/hw/routers/ps380/products_password_recovery09186a00800942c2.shtml#topic1http://www.cisco.com/en/US/products/hw/routers/ps380/products_password_recovery09186a00800942c2.shtml#sample_outputhttp://www.cisco.com/en/US/products/hw/routers/ps380/products_password_recovery09186a00800942c2.shtml#sample_outputhttp://www.cisco.com/en/US/products/hw/routers/ps380/products_password_recovery09186a00800942c2.shtml#recovery_examplehttp://www.cisco.com/en/US/products/hw/routers/ps380/products_password_recovery09186a00800942c2.shtml#recovery_examplehttp://www.cisco.com/en/US/products/hw/routers/ps380/products_password_recovery09186a00800942c2.shtml#replacement_examplehttp://www.cisco.com/en/US/products/hw/routers/ps380/products_password_recovery09186a00800942c2.shtml#replacement_examplehttp://www.cisco.com/en/US/products/hw/routers/ps380/products_password_recovery09186a00800942c2.shtml#NetProhttp://www.cisco.com/en/US/products/hw/routers/ps380/products_password_recovery09186a00800942c2.shtml#NetProhttp://www.cisco.com/en/US/products/hw/routers/ps380/products_password_recovery09186a00800942c2.shtml#related_infohttp://www.cisco.com/en/US/products/hw/routers/ps380/products_password_recovery09186a00800942c2.shtml#related_infohttp://www.cisco.com/en/US/products/hw/routers/ps380/products_password_recovery09186a00800942bc.shtmlhttp://www.cisco.com/en/US/products/hw/routers/ps380/products_password_recovery09186a00800942bc.shtmlhttp://www.cisco.com/en/US/products/hw/routers/ps380/products_password_recovery09186a00800942bc.shtmlhttp://www.cisco.com/en/US/ts/fn/100/fn13141.htmlhttp://www.cisco.com/en/US/ts/fn/100/fn13141.htmlhttp://www.cisco.com/en/US/ts/fn/100/fn13141.htmlhttp://www.cisco.com/en/US/ts/fn/100/fn13141.htmlhttp://www.cisco.com/en/US/products/sw/iosswrel/ps1831/products_tech_note09186a00801746e6.shtmlhttp://www.cisco.com/en/US/products/sw/iosswrel/ps1831/products_tech_note09186a00801746e6.shtmlhttp://www.cisco.com/en/US/products/sw/iosswrel/ps1831/products_tech_note09186a00801746e6.shtmlhttp://www.cisco.com/en/US/tech/tk801/tk36/technologies_tech_note09186a0080121ac5.shtmlhttp://www.cisco.com/en/US/tech/tk801/tk36/technologies_tech_note09186a0080121ac5.shtmlhttp://www.cisco.com/en/US/tech/tk801/tk36/technologies_tech_note09186a0080121ac5.shtmlhttp://www.cisco.com/en/US/tech/tk801/tk36/technologies_tech_note09186a0080121ac5.shtmlhttp://www.cisco.com/en/US/products/sw/iosswrel/ps1831/products_tech_note09186a00801746e6.shtmlhttp://www.cisco.com/en/US/ts/fn/100/fn13141.htmlhttp://www.cisco.com/en/US/ts/fn/100/fn13141.htmlhttp://www.cisco.com/en/US/products/hw/routers/ps380/products_password_recovery09186a00800942bc.shtmlhttp://www.cisco.com/en/US/products/hw/routers/ps380/products_password_recovery09186a00800942c2.shtml#related_infohttp://www.cisco.com/en/US/products/hw/routers/ps380/products_password_recovery09186a00800942c2.shtml#NetProhttp://www.cisco.com/en/US/products/hw/routers/ps380/products_password_recovery09186a00800942c2.shtml#replacement_examplehttp://www.cisco.com/en/US/products/hw/routers/ps380/products_password_recovery09186a00800942c2.shtml#recovery_examplehttp://www.cisco.com/en/US/products/hw/routers/ps380/products_password_recovery09186a00800942c2.shtml#sample_outputhttp://www.cisco.com/en/US/products/hw/routers/ps380/products_password_recovery09186a00800942c2.shtml#topic1http://www.cisco.com/en/US/products/hw/routers/ps380/products_password_recovery09186a00800942c2.shtml#conventions8/10/2019 Cisco Words e Dicas
5/19
Step-by-Step Procedure
Follow these steps in order to recover your password:
1. Attach a terminal or PC with terminal emulation to the console port of the router.
Use these terminal settings:
o 9600 baud rateo No parityo 8 data bitso 1 stop bito No flow control
The required console cable specifications are described inCabling Guide for Console and AUXPorts.
2. Use the power switch in order to turn off the router, and then turn the router back on.
3. Press Breakon the terminal keyboard within 60 seconds of power up in order to put the routerinto ROMMON.
If the break sequence does not work, refer toStandard Break Key Sequence Combinations DuringPassword Recoveryfor other key combinations.
4. Type setat the boot#prompt, and record the current value of the configuration register.
5.boot#set6.set baud =96007.set data-bits =88.set parity =none9.set stop-bits =1
10. set console-flags =011. set mac-address =0050.7307.C32912. set unit-ip =10.200.40.6513. set serv-ip =255.255.255.25514. set netmask =255.255.252.015. set gate-ip =10.200.40.116. set pkt-timeout =817. set tftp-timeout =1618. set boot-action =flash19. set file-name ="c800-nsy6-mw.122-10b.bin"20. set watchdog =off21. set prompt ="boot"22. set ios-conf =0x210223. !--- The ios-conf variable sets the value for the24. !--- configuration register. Record this value.25.26. Type set ios-conf = 142at the boot#prompt.
Note: The best setting is 142 if the Flash is intact. If the Flash is not installed or is erased, use141. With this setting, you can view or erase the configuration, but you cannot change thepassword.
27. Type bootat the boot#prompt in order to initialize the router.
The router reboots, but ignores the saved configuration.
http://www.cisco.com/en/US/products/hw/routers/ps332/products_tech_note09186a0080094ce6.shtmlhttp://www.cisco.com/en/US/products/hw/routers/ps332/products_tech_note09186a0080094ce6.shtmlhttp://www.cisco.com/en/US/products/hw/routers/ps332/products_tech_note09186a0080094ce6.shtmlhttp://www.cisco.com/en/US/products/hw/routers/ps332/products_tech_note09186a0080094ce6.shtmlhttp://www.cisco.com/en/US/products/hw/routers/ps133/products_tech_note09186a0080174a34.shtmlhttp://www.cisco.com/en/US/products/hw/routers/ps133/products_tech_note09186a0080174a34.shtmlhttp://www.cisco.com/en/US/products/hw/routers/ps133/products_tech_note09186a0080174a34.shtmlhttp://www.cisco.com/en/US/products/hw/routers/ps133/products_tech_note09186a0080174a34.shtmlhttp://www.cisco.com/en/US/products/hw/routers/ps133/products_tech_note09186a0080174a34.shtmlhttp://www.cisco.com/en/US/products/hw/routers/ps133/products_tech_note09186a0080174a34.shtmlhttp://www.cisco.com/en/US/products/hw/routers/ps332/products_tech_note09186a0080094ce6.shtmlhttp://www.cisco.com/en/US/products/hw/routers/ps332/products_tech_note09186a0080094ce6.shtml8/10/2019 Cisco Words e Dicas
6/19
28. Type noafter each setup question, or press Ctrl-Cin order to skip the initial setup procedure.
29. Type enableat the Router>prompt.
Once the Router#prompt appears, you are in enable mode.
30. Type configure memoryor copy startup-config running-configin order to copy the nonvolatile
RAM (NVRAM) into memory.
Important:Do nottype copy running-config startup-configor write. These commands eraseyour startup configuration.
31. Type show running-config.
The show running-configcommand shows the configuration of the router. In this configuration,the shutdowncommand appears under all interfaces, which indicates all interfaces are currentlyshut down. In addition, the passwords (enable password, enable secret, vty, console passwords)are in either an encrypted or unencrypted format. You can reuse unencrypted passwords. Youmust change encrypted passwords to a new password.
32. Type configure terminal.
The hostname(config)#prompt appears.
33. Type enable secret in order to change the enable secretpassword. For example:
34. hostname(config)#enable secret cisco35.36. Issue the no shutdowncommand on every interface that you use.
If you issue a show ip interface briefcommand, every interface that you want to use displays upup.
37. Type config-register . Where configuration_register_settingiseither the value you recorded in step 2 or 0x2102. For example:
38. hostname(config)#config-register 0x210239.40. Press Ctrl-zor endin order to leave the configuration mode.
The hostname#prompt appears.
41. Type write memor copy running startupin order to commit the changes.42. Type reload.
Once the router reloads, the configuration register value changes from 0x142to 0x2102.
Sample Output Example
This section provides an example of the password recovery procedure. This example was created with aCisco 803 Series Router. Even if you do not use a Cisco 803 Series Router, this output provides anexample of what you should experience on your product.
Router>show versionCisco Internetwork Operating System SoftwareIOS (tm) C800 Software (C800-NSY6-MW), Version 12.2(10b),RELEASE SOFTWARE (fc1)Copyright (c) 1986-2002 by cisco Systems, Inc.
Compiled Thu 11-Jul-02 19:53 by pwadeImage text-base: 0x000F2000, data-base: 0x0086C000
8/10/2019 Cisco Words e Dicas
7/19
ROM: TinyROM version 1.0(3)leased uptime is 1 minuteSystem returned to ROM by power-onSystem image file is "flash:c800-nsy6-mw.122-10b.bin"
Cisco C803 (MPC850) processor (revision 1) with 52940K bytesof virtual memory.Processor board ID JAD03325506 (2953252)CPU part number 0x2100X.25 software, Version 3.0.0.Bridging software.Basic Rate ISDN software, Version 1.1.2 POTS Ports1 Ethernet/IEEE 802.3 interface(s)1 ISDN Basic Rate interface(s)12M bytes of physical memory (DRAM)8K bytes of non-volatile configuration memory
12M bytes of flash on board (8M from flash card)
Configuration register is 0x2102
!--- The router was just powercycled.
!--- At bootup a break sequence is sent to the router.
TinyROM version 1.0(3)Fri Apr 30 18:22:12 1999Copyright (c) 1998-1999 by cisco Systems, Inc.
All rights reserved.
POST ......... OK. 12MB DRAM, 8MB Flash.boot# setset baud =9600set data-bits =8set parity =noneset stop-bits =1set console-flags =0set mac-address =0050.7307.C329set unit-ip =10.200.40.65set serv-ip =255.255.255.255set netmask =255.255.252.0set gate-ip =10.200.40.1set pkt-timeout =8set tftp-timeout =16set boot-action =flashset file-name ="c800-nsy6-mw.122-10b.bin"set watchdog =offset prompt ="boot"set ios-conf =0x2102
boot# set ios-conf = 142!--You can use 0x142 or 0x2142.
8/10/2019 Cisco Words e Dicas
8/19
boot#boot
Booting "c800-nsy6-mw.122-10b.bin"...,Restricted Rights Legend
Use, duplication, or disclosure by the Government issubject to restrictions as set forth in subparagraph(c) of the Commercial Computer Software - RestrictedRights clause at FAR sec. 52.227-19 and subparagraph(c) (1) (ii) of the Rights in Technical Data and ComputerSoftware clause at DFARS sec. 252.227-7013.
cisco Systems, Inc.170 West Tasman DriveSan Jose, California 95134-1706
Cisco Internetwork Operating System SoftwareIOS (tm) C800 Software (C800-Y6-MW), Version12.2(10b), RELEASE SOFTWARE (fc1)Copyright (c) 1986-2002 by cisco Systems, Inc.Compiled Thu 11-Jul-02 19:53 by pwadeImage text-base: 0x000F2000, data-base: 0x0086C000
Cisco C803 (MPC850) processor (revision 1) with 52940K bytesof virtual memory.Processor board ID JAD03325506 (2953252)CPU part number 0x2100
X.25 software, Version 3.0.0.Bridging software.Basic Rate ISDN software, Version 1.1.2 POTS Ports1 Ethernet/IEEE 802.3 interface(s)1 ISDN Basic Rate interface(s)12M bytes of physical memory (DRAM)8K bytes of non-volatile configuration memory12M bytes of flash on board (8M from flash card)
--- System Configuration Dialog ---
Would you like to enter the initial configuration dialog?[yes/no]: no
Press RETURN to get started! (press Enter)
00:26:02: %SYS-5-RESTART: System restarted --Cisco Internetwork Operating System SoftwareIOS (tm) C800 Software (C800-NSY6-MW), Version 12.2(10b),RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2002 by cisco Systems, Inc.Compiled Thu 11-Jul-02 19:53 by pwade
8/10/2019 Cisco Words e Dicas
9/19
00:26:02: %SNMP-5-COLDSTART: SNMP agent on host Router isundergoing a cold start00:26:02: %LINK-5-CHANGED: Interface BRI0, changed state toadministratively down00:26:03: %LINEPROTO-5-UPDOWN: Line protocol on Interface
BRI0, changed state to down00:26:03: %LINK-5-CHANGED: Interface Ethernet0, changed stateto administratively down00:26:04: %LINEPROTO-5-UPDOWN: Line protocol on InterfaceEthernet0, changed stateto down
Router>enable
Router#copy startup-config running-configDestination filename [running-config]? (press Enter)
% Login disabled on line 1, until 'password' is set% Login disabled on line 2, until 'password' is set% Login disabled on line 3, until 'password' is set% Login disabled on line 4, until 'password' is set% Login disabled on line 5, until 'password' is set797 bytes copied in 2.304 secs (346 bytes/sec)
00:27:47: %LINK-3-UPDOWN: Interface BRI0:1, changed state todown00:27:47: %LINK-3-UPDOWN: Interface BRI0:2, changed state todown
00:27:48: %LINEPROTO-5-UPDOWN: Line protocol on InterfaceBRI0:1, changed state to down00:27:48: %LINEPROTO-5-UPDOWN: Line protocol on InterfaceBRI0:2, changed state to down
Note:After you copy the configuration file from NVRAM to RAM, you can perform one of theseprocedures:
Password recoveryPerform this procedure if the enablepassword (which is in plain text format)is configured.
Password replacementPerform this procedure if the enable-secretpassword (which is inencrypted format) is configured based on how the password is last configured.
Note: In order to check the format in which the password is configured in the router, use the showrunning-configcommand, and look for enable passwordorenable secret passwordin theconfiguration. For more information, seeExample of Enable Password RecoveryandExample of PasswordReplacement.
Example of Enable Password Recovery
This example output from the show running-configcommand shows that enable passwordisconfigured.
Router#show running-configBuilding configuration...
Current configuration : 820 bytes!
http://www.cisco.com/en/US/products/hw/routers/ps380/products_password_recovery09186a00800942c2.shtml#recovery_examplehttp://www.cisco.com/en/US/products/hw/routers/ps380/products_password_recovery09186a00800942c2.shtml#recovery_examplehttp://www.cisco.com/en/US/products/hw/routers/ps380/products_password_recovery09186a00800942c2.shtml#recovery_examplehttp://www.cisco.com/en/US/products/hw/routers/ps380/products_password_recovery09186a00800942c2.shtml#replacement_examplehttp://www.cisco.com/en/US/products/hw/routers/ps380/products_password_recovery09186a00800942c2.shtml#replacement_examplehttp://www.cisco.com/en/US/products/hw/routers/ps380/products_password_recovery09186a00800942c2.shtml#replacement_examplehttp://www.cisco.com/en/US/products/hw/routers/ps380/products_password_recovery09186a00800942c2.shtml#replacement_examplehttp://www.cisco.com/en/US/products/hw/routers/ps380/products_password_recovery09186a00800942c2.shtml#replacement_examplehttp://www.cisco.com/en/US/products/hw/routers/ps380/products_password_recovery09186a00800942c2.shtml#replacement_examplehttp://www.cisco.com/en/US/products/hw/routers/ps380/products_password_recovery09186a00800942c2.shtml#recovery_example8/10/2019 Cisco Words e Dicas
10/19
version 12.2service timestamps debug uptimeservice timestamps log uptimeno service password-encryption!
hostname Router!boot system flash c800-nsy6-mw.122-10b.binenable password cisco
!--- Here the password isplain text. You can either maintain
!--- the same password or replace it with a new password.
!--- Output omitted.
Example of Password Replacement
This example output from the show running-configcommand shows that enable secret passwordisconfigured. As a result, password replacement can be performed as shown in this example:
Router#show running-configBuilding configuration...Current configuration : 835 bytes!version 12.2service timestamps debug uptimeservice timestamps log uptimeno service password-encryption!hostname Router!boot system flash c800-nsy6-mw.122-10b.binenable secret 5 $1$O80N$NjrO/6P5jpi0PZYzAj/vX0
!--- Password replacement is performed because
!--- the password is encrypted.
!--- Output omitted.
Router#configure terminalEnter configuration commands, one per line. End with CNTL/Z.Router(config)#enable secret letmeinRouter(config)#00:03:39: %SYS-5-CONFIG_I: Configured from console by console
Once the password recovery or replacement is done, the remaining steps are the same, as shown in thisexample:
Router#show ip interface brief
8/10/2019 Cisco Words e Dicas
11/19
Interface IP-Address OK? Method StatusProtocolBRI0 unassigned YES TFTP administrativelydown downBRI0:1 unassigned YES unset administratively
down downBRI0:2 unassigned YES unset administrativelydown downEthernet0 10.200.40.65 YES TFTP administrativelydown downRouter#configure terminalEnter configuration commands, one per line. End with CNTL/Z.Router(config)#interface ethernet 0Router(config-if)#no shutdownRouter(config-if)#00:30:02: %LINK-3-UPDOWN: Interface Ethernet0, changed stateto up
00:30:03: %LINEPROTO-5-UPDOWN: Line protocol on InterfaceEthernet0, changed state to upRouter(config)#config-reg 0x2102Router(config)#^ZRouter#00:04:36: %SYS-5-CONFIG_I: Configured from console by consoleRouter#write memory
After you issue the config-reg 0x2102command, the new configuration register value is not immediatelyapplied. The new value is applied only after the router is reloaded. This output from the showversioncommand shows the current value (0x142) and the value that is applied after the next reload(0x2102).
Router#show versionCisco Internetwork Operating System SoftwareIOS (tm) C800 Software (C800-NSY6-MW), Version 12.2(10b),RELEASE SOFTWARE (fc1)Copyright (c) 1986-2002 by cisco Systems, Inc.Compiled Thu 11-Jul-02 19:53 by pwadeImage text-base: 0x000F2000, data-base: 0x0086C000
ROM: TinyROM version 1.0(3)leased uptime is 7 minutes
System returned to ROM by power-onSystem image file is "flash:c800-nsy6-mw.122-10b.bin"
Cisco C803 (MPC850) processor (revision 1) with 52940K bytesof virtual memory.Processor board ID JAD03325506 (2953252)CPU part number 0x2100X.25 software, Version 3.0.0.Bridging software.Basic Rate ISDN software, Version 1.1.2 POTS Ports1 Ethernet/IEEE 802.3 interface(s)
1 ISDN Basic Rate interface(s)12M bytes of physical memory (DRAM)
8/10/2019 Cisco Words e Dicas
12/19
8K bytes of non-volatile configuration memory12M bytes of flash on board (8M from flash card)
Configuration register is 0x142
!--- This value becomes 0x2102 at next reload.
Router#show versionCisco Internetwork Operating System SoftwareIOS (tm) C800 Software (C800-NSY6-MW), Version 12.2(10b),RELEASE SOFTWARE (fc1)Copyright (c) 1986-2002 by cisco Systems, Inc.Compiled Thu 11-Jul-02 19:53 by pwadeImage text-base: 0x000F2000, data-base: 0x0086C000
ROM: TinyROM version 1.0(3)leased uptime is 0 minutes
System returned to ROM by power-onSystem image file is "flash:c800-nsy6-mw.122-10b.bin"
Cisco C803 (MPC850) processor (revision 1) with 52940K bytesof virtual memory.Processor board ID JAD03325506 (2953252)CPU part number 0x2100X.25 software, Version 3.0.0.Bridging software.Basic Rate ISDN software, Version 1.1.2 POTS Ports
1 Ethernet/IEEE 802.3 interface(s)1 ISDN Basic Rate interface(s)12M bytes of physical memory (DRAM)8K bytes of non-volatile configuration memory12M bytes of flash on board (8M from flash card)
Configuration register is 0x2102
Cisco Support Community - FeaturedConversations
Cisco Support Communityis a forum for you to ask and answer questions, share suggestions, and
collaborate with your peers. Below are just some of the most recent and relevant
conversations happening right now.
https://supportforums.cisco.com/index.jspahttps://supportforums.cisco.com/index.jspahttps://supportforums.cisco.com/index.jspa8/10/2019 Cisco Words e Dicas
13/19
ROMmon Recovery for the Cisco 2500, 3000,AS5100, and uBR900 Series Routers
ocument ID:
15078
Share on printShare on emailShare on favoritesShare on googleShare on twitterShare on
facebook|More Sharing ServicesMore
ownloads
ROMmon Recovery for the Cisco 2500, 3000, AS5100, and uBR900 Series Routers
elated Documents
Software Installation and Upgrade Procedure for the 1600, 2000, 2500, 3000, AS5100, and AS5200Cisco uBR900 Series Cable Access Routers Troubleshooting TechNotes
Cisco 2500 Series Router Architecture [Cisco 2500 Series Routers]
Cisco 2500 Series Routers Troubleshooting TechNotes
Hardware Troubleshooting for Cisco uBR9xx Series Cable Modems [Cable Modems].
More...
elated Products/Technology
Cisco 2500 Series Routers
Cisco AS5200 Series Universal Access Servers
Cisco IOS Software Releases 11.1
Cisco IOS Software Releases 11.2Cisco IOS Software Releases 12.0 Mainline
More...
elated Discussion
router doesn't get passed SNMP agent on...
Console connection to a uBR924
Easy VPN support for Cisco2600
Help Choosing products for...
3005 ser. Concentrator Cheapest...
ontentsIntroduction
Prerequisites
Requirements
Components Used
Conventions
Verify the Configuration Register Value
Download Cisco IOS Image Using the Boot Image from a Trivial File Transfer Protocol (TFTP) ServerCisco Support Community - Featured Conversations
http://www.cisco.com/en/US/products/hw/routers/ps233/products_tech_note09186a008009464c.shtmlhttp://www.cisco.com/en/US/products/hw/routers/ps233/products_tech_note09186a008009464c.shtmlhttp://www.addthis.com/bookmark.php?v=250&username=ciscosupporthttp://www.addthis.com/bookmark.php?v=250&username=ciscosupporthttp://www.addthis.com/bookmark.php?v=250&username=ciscosupporthttp://www.cisco.com/image/gif/paws/15078/recovery_c2500.pdfhttp://www.cisco.com/en/US/products/hw/iad/ps497/products_tech_note09186a0080110d2c.shtml?referring_site=smartnavRDhttp://www.cisco.com/en/US/products/hw/iad/ps497/products_tech_note09186a0080110d2c.shtml?referring_site=smartnavRDhttp://www.cisco.com/en/US/products/hw/iad/ps497/products_tech_note09186a0080110d2c.shtml?referring_site=smartnavRDhttp://www.cisco.com/en/US/products/hw/cable/ps2221/prod_tech_notes_list.html?referring_site=smartnavRDhttp://www.cisco.com/en/US/products/hw/cable/ps2221/prod_tech_notes_list.html?referring_site=smartnavRDhttp://www.cisco.com/en/US/products/hw/cable/ps2221/prod_tech_notes_list.html?referring_site=smartnavRDhttp://www.cisco.com/en/US/products/hw/routers/ps233/products_tech_note09186a0080094e93.shtml?referring_site=smartnavRDhttp://www.cisco.com/en/US/products/hw/routers/ps233/products_tech_note09186a0080094e93.shtml?referring_site=smartnavRDhttp://www.cisco.com/en/US/products/hw/routers/ps233/products_tech_note09186a0080094e93.shtml?referring_site=smartnavRDhttp://www.cisco.com/en/US/products/hw/routers/ps233/prod_tech_notes_list.html?referring_site=smartnavRDhttp://www.cisco.com/en/US/products/hw/routers/ps233/prod_tech_notes_list.html?referring_site=smartnavRDhttp://www.cisco.com/en/US/products/hw/routers/ps233/prod_tech_notes_list.html?referring_site=smartnavRDhttp://www.cisco.com/en/US/tech/tk86/tk89/technologies_tech_note09186a008011e81f.shtml?referring_site=smartnavRDhttp://www.cisco.com/en/US/tech/tk86/tk89/technologies_tech_note09186a008011e81f.shtml?referring_site=smartnavRDhttp://www.cisco.com/en/US/tech/tk86/tk89/technologies_tech_note09186a008011e81f.shtml?referring_site=smartnavRDhttp://tools.cisco.com/search/JSP/search-results.get?strQueryText=ROMmon%20Recovery%20for%20the%20Cisco%202500,%203000,%20AS5100,%20and%20uBR900%20Series%20Routershttp://tools.cisco.com/search/JSP/search-results.get?strQueryText=ROMmon%20Recovery%20for%20the%20Cisco%202500,%203000,%20AS5100,%20and%20uBR900%20Series%20Routershttp://www.cisco.com/en/US/customer/products/hw/routers/ps233/tsd_products_support_troubleshoot_and_alerts.html?referring_site=smartnavhttp://www.cisco.com/en/US/customer/products/hw/routers/ps233/tsd_products_support_troubleshoot_and_alerts.html?referring_site=smartnavhttp://www.cisco.com/en/US/customer/products/hw/routers/ps233/tsd_products_support_troubleshoot_and_alerts.html?referring_site=smartnavhttp://www.cisco.com/en/US/products/hw/iad/ps497/tsd_products_support_troubleshoot_and_alerts.html?referring_site=smartnavhttp://www.cisco.com/en/US/products/hw/iad/ps497/tsd_products_support_troubleshoot_and_alerts.html?referring_site=smartnavhttp://www.cisco.com/en/US/products/hw/iad/ps497/tsd_products_support_troubleshoot_and_alerts.html?referring_site=smartnavhttp://www.cisco.com/en/US/products/sw/iosswrel/ps1820/tsd_products_support_troubleshoot_and_alerts.html?referring_site=smartnavhttp://www.cisco.com/en/US/products/sw/iosswrel/ps1820/tsd_products_support_troubleshoot_and_alerts.html?referring_site=smartnavhttp://www.cisco.com/en/US/products/sw/iosswrel/ps1820/tsd_products_support_troubleshoot_and_alerts.html?referring_site=smartnavhttp://www.cisco.com/en/US/products/sw/iosswrel/ps1824/tsd_products_support_troubleshoot_and_alerts.html?referring_site=smartnavhttp://www.cisco.com/en/US/products/sw/iosswrel/ps1824/tsd_products_support_troubleshoot_and_alerts.html?referring_site=smartnavhttp://www.cisco.com/en/US/products/sw/iosswrel/ps1824/tsd_products_support_troubleshoot_and_alerts.html?referring_site=smartnavhttp://www.cisco.com/en/US/products/sw/iosswrel/ps1828/tsd_products_support_troubleshoot_and_alerts.html?referring_site=smartnavhttp://www.cisco.com/en/US/products/sw/iosswrel/ps1828/tsd_products_support_troubleshoot_and_alerts.html?referring_site=smartnavhttp://www.cisco.com/en/US/products/sw/iosswrel/ps1828/tsd_products_support_troubleshoot_and_alerts.html?referring_site=smartnavhttp://toggle%28%27remainingprodtechdocs%27%29/http://toggle%28%27remainingprodtechdocs%27%29/https://supportforums.cisco.com/thread/13935?referring_site=kapi?referring_site=smartnavhttps://supportforums.cisco.com/thread/13935?referring_site=kapi?referring_site=smartnavhttps://supportforums.cisco.com/thread/13935?referring_site=kapi?referring_site=smartnavhttps://supportforums.cisco.com/thread/18677?referring_site=kapi?referring_site=smartnavhttps://supportforums.cisco.com/thread/18677?referring_site=kapi?referring_site=smartnavhttps://supportforums.cisco.com/thread/18677?referring_site=kapi?referring_site=smartnavhttps://supportforums.cisco.com/thread/37035?referring_site=kapi?referring_site=smartnavhttps://supportforums.cisco.com/thread/37035?referring_site=kapi?referring_site=smartnavhttps://supportforums.cisco.com/thread/37035?referring_site=kapi?referring_site=smartnavhttps://supportforums.cisco.com/thread/46568?referring_site=kapi?referring_site=smartnavhttps://supportforums.cisco.com/thread/46568?referring_site=kapi?referring_site=smartnavhttps://supportforums.cisco.com/thread/46568?referring_site=kapi?referring_site=smartnavhttps://supportforums.cisco.com/thread/72872?referring_site=kapi?referring_site=smartnavhttps://supportforums.cisco.com/thread/72872?referring_site=kapi?referring_site=smartnavhttps://supportforums.cisco.com/thread/72872?referring_site=kapi?referring_site=smartnavhttp://www.cisco.com/en/US/products/hw/routers/ps233/products_tech_note09186a008009464c.shtml#introhttp://www.cisco.com/en/US/products/hw/routers/ps233/products_tech_note09186a008009464c.shtml#prehttp://www.cisco.com/en/US/products/hw/routers/ps233/products_tech_note09186a008009464c.shtml#prehttp://www.cisco.com/en/US/products/hw/routers/ps233/products_tech_note09186a008009464c.shtml#reqhttp://www.cisco.com/en/US/products/hw/routers/ps233/products_tech_note09186a008009464c.shtml#reqhttp://www.cisco.com/en/US/products/hw/routers/ps233/products_tech_note09186a008009464c.shtml#hwhttp://www.cisco.com/en/US/products/hw/routers/ps233/products_tech_note09186a008009464c.shtml#convhttp://www.cisco.com/en/US/products/hw/routers/ps233/products_tech_note09186a008009464c.shtml#config_reg_valuehttp://www.cisco.com/en/US/products/hw/routers/ps233/products_tech_note09186a008009464c.shtml#config_reg_valuehttp://www.cisco.com/en/US/products/hw/routers/ps233/products_tech_note09186a008009464c.shtml#downloadhttp://www.cisco.com/en/US/products/hw/routers/ps233/products_tech_note09186a008009464c.shtml#downloadhttp://www.cisco.com/en/US/products/hw/routers/ps233/products_tech_note09186a008009464c.shtml#NetProhttp://www.cisco.com/en/US/products/hw/routers/ps233/products_tech_note09186a008009464c.shtml#NetProhttp://www.cisco.com/image/gif/paws/15078/recovery_c2500.pdfhttp://www.cisco.com/en/US/products/hw/routers/ps233/products_tech_note09186a008009464c.shtml#NetProhttp://www.cisco.com/en/US/products/hw/routers/ps233/products_tech_note09186a008009464c.shtml#downloadhttp://www.cisco.com/en/US/products/hw/routers/ps233/products_tech_note09186a008009464c.shtml#config_reg_valuehttp://www.cisco.com/en/US/products/hw/routers/ps233/products_tech_note09186a008009464c.shtml#convhttp://www.cisco.com/en/US/products/hw/routers/ps233/products_tech_note09186a008009464c.shtml#hwhttp://www.cisco.com/en/US/products/hw/routers/ps233/products_tech_note09186a008009464c.shtml#reqhttp://www.cisco.com/en/US/products/hw/routers/ps233/products_tech_note09186a008009464c.shtml#prehttp://www.cisco.com/en/US/products/hw/routers/ps233/products_tech_note09186a008009464c.shtml#introhttps://supportforums.cisco.com/thread/72872?referring_site=kapi?referring_site=smartnavhttps://supportforums.cisco.com/thread/46568?referring_site=kapi?referring_site=smartnavhttps://supportforums.cisco.com/thread/37035?referring_site=kapi?referring_site=smartnavhttps://supportforums.cisco.com/thread/18677?referring_site=kapi?referring_site=smartnavhttps://supportforums.cisco.com/thread/13935?referring_site=kapi?referring_site=smartnavhttp://toggle%28%27remainingprodtechdocs%27%29/http://www.cisco.com/en/US/products/sw/iosswrel/ps1828/tsd_products_support_troubleshoot_and_alerts.html?referring_site=smartnavhttp://www.cisco.com/en/US/products/sw/iosswrel/ps1824/tsd_products_support_troubleshoot_and_alerts.html?referring_site=smartnavhttp://www.cisco.com/en/US/products/sw/iosswrel/ps1820/tsd_products_support_troubleshoot_and_alerts.html?referring_site=smartnavhttp://www.cisco.com/en/US/products/hw/iad/ps497/tsd_products_support_troubleshoot_and_alerts.html?referring_site=smartnavhttp://www.cisco.com/en/US/customer/products/hw/routers/ps233/tsd_products_support_troubleshoot_and_alerts.html?referring_site=smartnavhttp://tools.cisco.com/search/JSP/search-results.get?strQueryText=ROMmon%20Recovery%20for%20the%20Cisco%202500,%203000,%20AS5100,%20and%20uBR900%20Series%20Routershttp://www.cisco.com/en/US/tech/tk86/tk89/technologies_tech_note09186a008011e81f.shtml?referring_site=smartnavRDhttp://www.cisco.com/en/US/products/hw/routers/ps233/prod_tech_notes_list.html?referring_site=smartnavRDhttp://www.cisco.com/en/US/products/hw/routers/ps233/products_tech_note09186a0080094e93.shtml?referring_site=smartnavRDhttp://www.cisco.com/en/US/products/hw/cable/ps2221/prod_tech_notes_list.html?referring_site=smartnavRDhttp://www.cisco.com/en/US/products/hw/iad/ps497/products_tech_note09186a0080110d2c.shtml?referring_site=smartnavRDhttp://www.cisco.com/image/gif/paws/15078/recovery_c2500.pdfhttp://www.addthis.com/bookmark.php?v=250&username=ciscosupporthttp://www.cisco.com/en/US/products/hw/routers/ps233/products_tech_note09186a008009464c.shtmlhttp://www.cisco.com/en/US/products/hw/routers/ps233/products_tech_note09186a008009464c.shtmlhttp://www.cisco.com/en/US/products/hw/routers/ps233/products_tech_note09186a008009464c.shtmlhttp://www.cisco.com/en/US/products/hw/routers/ps233/products_tech_note09186a008009464c.shtmlhttp://www.cisco.com/en/US/products/hw/routers/ps233/products_tech_note09186a008009464c.shtmlhttp://www.cisco.com/en/US/products/hw/routers/ps233/products_tech_note09186a008009464c.shtmlhttp://www.cisco.com/en/US/products/hw/routers/ps233/products_tech_note09186a008009464c.shtml8/10/2019 Cisco Words e Dicas
14/19
Related Information
Introduction
This document explains how to recover Cisco 2500, 3000, AS5100, and uBR900 Series Routers stuck inROMmon (rommon#>or >prompt).
Prerequisites
Requirements
To recover a router from ROMmon mode, the router should be physically accessible and should have aterminal connected to the console port. Recovering a router from ROMmon is not possible by telneting toany of the interfaces. You must know how tocopy the Cisco IOS software image from a TFTP server to therouter.
Components Used
The information in this document is based on the:
Cisco 2500 Series Router
Cisco 3000 Series Router
Cisco AS5100 Series Universal Access Server
Cisco uBR900 Series Router
The information presented in this document was created from devices in a specific lab environment. All ofthe devices used in this document started with a cleared (default) configuration. If you are working in a livenetwork, ensure that you understand the potential impact of any command before using it.
Conventions
For more information on document conventions, see theCisco Technical Tips Conventions.
Verify the Configuration Register Value
The first thing that needs to be investigated is why the router is booting up in ROMmon mode (indicated bythe "rommon # >" or ">" prompt). Determine whether the cause is due to the change of the configurationregister value, or a corrupted Cisco IOS software image.
If the router has a valid Cisco IOS software image, then simply changing the configuration value register to0x2102 will recover the router. The procedure for this is explained below.
1. If the ROMmon prompt is ">", type the following at the ROMmon prompt:
2.>o/r 0x21023.>i4.System Bootstrap, Version 11.0(10c)XB2, RELEASE SOFTWARE5.Copyright (c) 1986-2003 by cisco Systems6.2500 processor with 16384 Kbytes of main memory7.8.F3: 10021772+224116+562960 at 0x30000609.10. Restricted Rights Legend11.
http://www.cisco.com/en/US/products/hw/routers/ps233/products_tech_note09186a008009464c.shtml#relatedhttp://www.cisco.com/en/US/products/sw/iosswrel/ps1828/prod_release_note09186a00800810f3.htmlhttp://www.cisco.com/en/US/products/sw/iosswrel/ps1828/prod_release_note09186a00800810f3.htmlhttp://www.cisco.com/en/US/products/sw/iosswrel/ps1828/prod_release_note09186a00800810f3.htmlhttp://www.cisco.com/en/US/products/sw/iosswrel/ps1828/prod_release_note09186a00800810f3.htmlhttp://www.cisco.com/en/US/tech/tk801/tk36/technologies_tech_note09186a0080121ac5.shtmlhttp://www.cisco.com/en/US/tech/tk801/tk36/technologies_tech_note09186a0080121ac5.shtmlhttp://www.cisco.com/en/US/tech/tk801/tk36/technologies_tech_note09186a0080121ac5.shtmlhttp://www.cisco.com/en/US/tech/tk801/tk36/technologies_tech_note09186a0080121ac5.shtmlhttp://www.cisco.com/en/US/products/sw/iosswrel/ps1828/prod_release_note09186a00800810f3.htmlhttp://www.cisco.com/en/US/products/sw/iosswrel/ps1828/prod_release_note09186a00800810f3.htmlhttp://www.cisco.com/en/US/products/hw/routers/ps233/products_tech_note09186a008009464c.shtml#related8/10/2019 Cisco Words e Dicas
15/19
8/10/2019 Cisco Words e Dicas
16/19
14.15. !--- Output suppressed16.17.18. .............16384K bytes of processor board System
flash (Read/Write)19.20. Press RETURN to get started!21.
hostname(boot)>
Notice that the prompt is now "router (boot)>", confirming that the router has booted up using theboot image.
Note: If the router boots up in ROMmon again, most likely the boot image is corrupt or missingand the only way to recover is by replacing the processor board System Flash or hardware.
22. The next step is to upgrade the Cisco IOS software as follows:
23. hostname(boot)>enable24. hostname(boot)#copy tftp flash25. System flash directory:26. File Length Name/status27.28. 1 2416128 c2500-is-l.123-1a.bin [invalid checksum]29.30. [2416192 bytes used, 14361024 available, 16777216
total]31. Address or name of remote host [255.255.255.255]?
172.16.1.2
32. Source file name? c2500-is-l.123-1a.bin33. Destination file name [c2500-is-l.123-1a.bin]?34. Accessing file 'c2500-is-l.123-1a.bin' on
172.16.1.2...35. Loading c2500-is-l.123-1a.bin from 172.16.1.2 (via
Ethernet0): ! [OK]36.37. Erase flash device before writing? [confirm]38.39.40. !--- Press Enter to confirm
41.
42.43. Flash contains files. Are you sure you want to erase?
[confirm]44.45.46. !--- Press Enter to confirm47.48.49. Copy 'c2500-is-l.123-1a.bin' from server50. as 'c2500-is-l.123-1a.bin' into Flash WITH erase?
[yes/no]yes
8/10/2019 Cisco Words e Dicas
17/19
51. Erasing device...eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
52. ee ...erased53. Loading c2500-is-l.123-1a.bin from 172.16.1.2 (via
Ethernet0): !!!!!!!!!!!!!!!!!54. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
55.56.57. !--- Output suppressed58.59.60. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!61. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!62. [OK - 16294764/16777216 bytes]
63.64. Verifying checksum... OK (0x96AA)65. Flash copy took 0:08:23 [hh:mm:ss]
hostname(boot)#
66. Use the show flashcommand to verify the newly-loaded Cisco IOS image version.
67. hostname(boot)#show flash68.69. System flash directory:70. File Length Name/status71. 1 16294764 c2500-is-l.123-1a.bin
72. [16294828 bytes used, 482388 available, 16777216total]73. 16384K bytes of processor board System flash
(Read/Write)hostname(boot)#
74. After successfully copying the Cisco IOS image to the router, make sure that you change theconfiguration register back to 0x2102 and reload the router to boot from the Cisco IOS image.
75. hostname(boot)(config)#config-register 0x210276. hostname(boot)#reload77. System configuration has been modified. Save?
[yes/no]: no
78. Proceed with reload? [confirm]79.80.81. !--- Press Enter to confirm82.83.84. *Mar 1 00:12:58.463: %SYS-5-RELOAD: Reload requested85. System Bootstrap, Version 11.0(10c)XB2, PLATFORM
SPECIFIC RELEASE SOFTWARE (fc1)86.87. Copyright (c) 1986-2003 by cisco Systems88. 2500 processor with 14336 Kbytes of main memory89.90. F3: 15405292+889440+952984 at 0x3000060
8/10/2019 Cisco Words e Dicas
18/19
91.92.93. !--- Output suppressed94.95.
96.
97. Press RETURN to get started!98.
hostname>
99. Use the show versioncommand to verify the configuration register value and the newly-loadedCisco IOS image version.
100.hostname>show version101.Cisco Internetwork Operating System Software102.IOS (tm) 2500 Software (C2500-IS-L), Version 12.3(1a),
RELEASE SOFTWARE (fc1)103.Copyright (c) 1986-2003 by cisco Systems, Inc.
104.Compiled Fri 06-Jun-03 07:46 by dchih105.Image text-base: 0x0307F6E8, data-base: 0x00001000106.107.ROM: System Bootstrap, Version 11.0(10c)XB2, PLATFORM
SPECIFIC RELEASE SOFTWARE108.(fc1)109.BOOTLDR: 3000 Bootstrap Software (IGS-BOOT-R), Version
11.0(10c)XB2, PLATFORM SP110.ECIFIC RELEASE SOFTWARE (fc1)111.112.Router uptime is 2 minutes113.System returned to ROM by reload114.System image file is "flash:c2500-is-l.123-1a.bin"115.116.cisco 2500 (68030) processor (revision L) with
14336K/2048K bytes of memory.117.Processor board ID 13587050, with hardware revision
00000000118.Bridging software.119.X.25 software, Version 3.0.0.120.2 Ethernet/IEEE 802.3 interface(s)121.2 Serial network interface(s)122.32K bytes of non-volatile configuration memory.
123.16384K bytes of processor board System flash (ReadONLY)
124.125.Configuration register is 0x2102
The show versioncommand output above shows that the router has loaded the new Cisco IOS imageand the configuration register value is 0x2102.
SeeSoftware Installation and Upgrade Procedure for the 1600, 2000, 2500, 3000, AS5100, and AS5200formore information.
Cisco Support Community - FeaturedConversations
http://www.cisco.com/en/US/products/hw/iad/ps497/products_tech_note09186a0080110d2c.shtmlhttp://www.cisco.com/en/US/products/hw/iad/ps497/products_tech_note09186a0080110d2c.shtmlhttp://www.cisco.com/en/US/products/hw/iad/ps497/products_tech_note09186a0080110d2c.shtmlhttp://www.cisco.com/en/US/products/hw/iad/ps497/products_tech_note09186a0080110d2c.shtml8/10/2019 Cisco Words e Dicas
19/19
Cisco Support Communityis a forum for you to ask and answer questions, share suggestions, and
collaborate with your peers. Below are just some of the most recent and relevant
conversations happening right now.
https://supportforums.cisco.com/index.jspahttps://supportforums.cisco.com/index.jspahttps://supportforums.cisco.com/index.jspa