This article is for those IT Managers who are a little “clueless” and don’t write down their passwords (always remember in a safe and encrypted place) Who hasn’t found a router that we need to reset or recover but we can’t find the password or the password, can we recover the password without losing the configuration?
Well, if you follow these simple steps, you will be able to recover your router’s password without having to reset it, which means that we will change the password without deleting all the settings. GENIAL!!
TIP: This method only works with 8XX, 2600 and 2800 Series Routers and others.
Recover Password Router Cisco
Following these simple steps we will be able to put a new password or recover the old one we had without much effort. There’s only one requirement, to be physically where the router is.
Material required:
- PC
- Serial cable (With adapter if you do not have a serial port on your PC). Puedes comprar uno de estos:
Cisco password recovery Step-by-step procedure
- Connect the PC to the console port of the router. Use this data:
-
- 9600 baud rate
- No parity
- 8 data bits
- 1 stop bit
- No flow control
TIP: Read the article Connect PC to Cisco router to know how to do it.
-
- Prepares the serial port connection with the Putty or Hyperterminal.
- Reboot the router using the power switch.
- Press BREAK on the console terminal.
- When rommon>1 appears on the screen enter confreg 0x2142 comand to restart from the flash (This step skips the start-up configuration where the passwords are stored).
- Enter the RESET command when rommon2 > appears on the display.
- The router will restart, but will ignore the saved settings.
- Type NO after every question you are asked, or press Ctrl-C to skip the initial router configuration.
- Enter the enable command when Router> appears on the screen. You will enter enable mode and you will see at the beginning of the Router# screen.
- Type configure memory or copy startup-config running-config to copy the saved configuration to the running configuration. IMPORTANT: Do not enter the copy running-config startup-config or write commands. These would overwrite the settings we had on the router.
- Enter the following configure terminal commands. Then it will appear in the hostname(config)# router
- Type enable secret followed by the password. Example: enable secret cisco. This will put cisco as our new password.
- Enter the config-register 0x2102 command to leave the router with the default boot option again.
- Press Ctrl-z or end to exit the setup mode.
- Enter the write memory or copy running-config startup-config commands to save the configuration and confirm the changes.
Example of Cisco password router recovery:
Here is an example of a Cisco router password recovery within the same router.
Router>enable Password: Password: Password: % Bad secrets Router>show version ROM: System Bootstrap, Version 11.3(2)XA4, RELEASE SOFTWARE (fc1) Router uptime is 3 minutes cisco 2611 (MPC860) processor (revision 0x202) with 26624K/6144K bytes of memory. Configuration register is 0x2102 Router>
! *** System received an abort due to Break Key *** signal= 0x3, code= 0x500, context= 0x813ac158 You must reset or power cycle for new config to take effect rommon 2 > reset System Bootstrap, Version 11.3(2)XA4, RELEASE SOFTWARE (fc1) program load complete, entry point: 0x80008000, size: 0x6fdb4c Self decompressing the image : ############################### [OK]
Restricted Rights Legend Use, duplication, or disclosure by the Government is cisco Systems, Inc. Cisco Internetwork Operating System Software cisco 2611 (MPC860) processor (revision 0x202) with 26624K/6144K bytes of memory. — System Configuration Dialog — Would you like to enter the initial configuration dialog? [yes/no]: n Press RETURN to get started! 00:00:19: %LINK-3-UPDOWN: Interface BRI0/0, changed state to up Interface IP-Address OK? Method Status Protocol ROM: System Bootstrap, Version 11.3(2)XA4, RELEASE SOFTWARE (fc1) Router uptime is 3 minutes cisco 2611 (MPC860) processor (revision 0x202) Configuration register is 0x2142 Router#configure terminal Router#show version ROM: System Bootstrap, Version 11.3(2)XA4, RELEASE SOFTWARE (fc1) Router uptime is 3 minutes cisco 2611 (MPC860) processor (revision 0x202) 2 Ethernet/IEEE 802.3 interface(s) Configuration register is 0x2142 (will be 0x2102 at next reload) Router#
|
Leave A Comment