- If you can access the router, type show version at the prompt, and record the configuration register setting.
Note: The configuration register is usually set to
0x2102 or 0x102. If you can no longer access the router (because of a lost login or TACACS password), you can safely assume that your configuration register is set to 0x2102.
- Press Break on the terminal keyboard within 60 seconds of power up in order to put the router into ROMMON.
- Type confreg 0x2142 at the rommon 1> prompt in order to boot from Flash.
This step bypasses the startup configuration where the passwords are stored.
- Type reset at the rommon 2> prompt.
The router reboots, but ignores the saved configuration. - Type no after each setup question, or press Ctrl-C in order to skip the initial setup procedure.
- Type configure memory or copy startup-config running-config in order to copy the nonvolatile RAM (NVRAM) into memory.
Important: Do not type copy running-config startup-config or write. These commands erase your startup configuration. - Type enable secret in order to change the enable secret password. For example:
hostname(config)#enable secret cisco - Issue the no shutdown command on every interface that you use.
If you issue a show ip interface brief command, every interface that you want to use should display up up. - Type config-register . Where configuration_register_setting is either the value you recorded in step 2 or 0x2102 . For example:
hostname(config)#config-register 0x2102 - Type write memory or copy running-config startup-config in order to commit the changes.
0 comments: