Discussion Locked

uanble to login to cisco Router

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

hi all.
i'm trying to backup the running config to a Tftp server and test that .i have backed up that file succesfuuly ,to test that ,i disabled the enable password and exit from the Router .
When i again gave the enable password ,it is saying that password not set ..
I'm gone ,what to do now ..
i have set the service password-encryption running on that earlier ,then disabled the enable password .I'm able to login into the Router ,when i hit the enable and hit enter ,it says that no password set and exits .
it is not letting me in now ..
the model of the Router is Cisco 2511 ...
i have the backup config file ..
i need to login ,what to do now ..
please help .

2 replies

by mike mullins

1. Attach a terminal or PC with terminal emulation to the console port of the router. Use the following terminal settings:
9600 baud rate
No parity
8 data bits
1 stop bit
No flow control
The required console cable specifications are described in the Cabling Guide for RJ-45 Console and AUX Ports(Cisco 1000 Series, 2500 Series, and AS5100).
Password recovery procedures cannot be done using telnet connections.
2. Using the power switch, turn the router off and then turn it back on.
3. Send a break sequence from the terminal keyboard within 60 seconds of the power-up to put the router into ROMMON. The break sequence depends on your Operating System/Terminal Emulator. See Standard Break Key Sequence Combinations During Password Recovery for different key combinations.
4. Type o and press Enter at the > prompt, and record the current value of the configuration register (usually 0x2102, or 0x102):
5. Type o/r 0x2142 and press Enter at the > prompt to boot from Flash without loading the configuration.
6. Type i at the > prompt and press Enter.
7. The router reboots, but ignores its saved configuration.
8. Type no after each setup question or press Ctrl-C to skip the initial setup procedure.
9. Type enable at the Router> prompt.
10. You'll be in enable mode and see the Router# prompt.
11. Type configure memory or copy startup-config running-config to copy the NVRAM into memory. Do not type write memory or copy running startup-config.

Two part answer - read the next part for the conclusion.

Good Luck,
Mike

by mike mullins

Part II

12. Type write terminal or show running-config.
13. The show running-config and write terminal commands show the configuration of the router. In this configuration you see under all the interfaces the shutdown command, which means all interfaces are currently shutdown. Also, you can see the passwords either in encrypted or unencrypted format.
14. Type configure terminal and make the changes.

The prompt is now:
hostname(config)#

15. Type enable secret .
16. Issue the no shutdown command on every interface that is used. If you issue a show ip interface brief command after you exit configuration mode, every interface that you want to use should be "up up".
17. Type config-register 0x2102, or the value you recorded in step 4.
18. This causes the router to load the Cisco IOS software from the Flash with the configuration from NVRAM at the next reload.
19. Press Ctrl-z to leave the configuration mode.

The prompt is now:
hostname#

20. Type write memory or copy running-config startup-config to commit the changes.
21. Type Reload to restart the router with the Cisco IOS software booting from the Flash.

The Cisco article is found here:
http://www.cisco.com/en/US/products/hw/routers/ps233/products_password_recovery09186a0080094795.shtml

Good Luck,
Mike

This discussion is closed to new replies.