1. Attach the console port cable to the console port of the 2500 router and the other end to the serial port of your pc. On your windows pc go to start, programs, accessorises, communications, and make a new connection from Hyper Terminal to the router.
If you still have access to the router, type show version and record the setting of the configuration register; it is usually 0x2102 or 0x102. If you don't have access to the router (because of a lost login password), you can safely consider that your configuration register is set to 0x2102.
2. Using the power switch, turn the router off and then turn it back on.
3. Press Break on the keyboard within 60 seconds of the power-up to put the router into ROMMON
4. Type o/r 0x2142 at the > prompt to boot from Flash without loading the configuration.
5. Type i at the > prompt. The router reboots, but ignores its saved configuration.
6. Type no after each setup question or press Ctrl-C to skip the initial setup procedure.
7. Type enable at the Router> prompt. You'll be in enable mode and see the Router# prompt
8. Important: Type copy start running to copy the nonvolatile RAM (NVRAM) into memory.
9. Type show running The show running 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.
10. Type config term and make the changes. The prompt is now hostname(config)#.
11. Type enable secret .
12. Issue the no shutdown command on every interface that is used. If you issue a show ip interface brief command, every interface that you want to use should be "up up".
13. Type config-register 0x2102.
14 Press Ctrl-z to leave the configuration mode. The prompt is now hostname#.
15. Type copy running startup to commit the changes.
|