For all actions you will need console cable and direct access to your router!
You can load device in rommon and set config-register to 2142, then reload device again. It will load into default configuration and by entering configure memory
you will get into nvram-configuration mode where you can change your enable secret.
Don't forget after that change your config-register back to 2102.
So steps in order:
- Restart device
- Press Ctrl+Z right after you see first boot messages
- In rommon enter:
confreg 0x2142
reset
confreg 0x2142 reset
- Boot. Device now with default config. Do
enable conf memory
enable conf memory
- Change enable secret
- Change config-register back to normal boot
(conf-t)# config-register 0x2102 write
(conf-t)# config-register 0x2102 write
- End up with reload