Hello,
check this link, it describes a procedure to change the enable passwords using SNMP and a tool from Solarwinds:
How to reset an enable secret password via SNMP
http://support.solarwinds.net/Help/Config-Uploader/Reset-Enable-Password.htm
The basic idea is to upload a configuration with the new password to the router. You can also use a simple script to achieve this:
To reset the password using SNMP.
First read the config to your tftp server...
/usr/OV/snmpset -c
.1.3.6.1.4.1.9.2.1.55.ipaddress.of.tftpserver octetstring
server>
Next edit the config substituting the new, plain text, enable secret password
Enable secret
then tell the router to boot the config on your tftp server (tftp server needs to be on the same subnet)...
/usr/OV/bin/ snmpset -c
.1.3.6.1.4.1.9.2.1.50.ip.address.of.tftpserver octetstring
server>
And the new config is running, telnet to the router and try your new password... then copy the running config to startup...
HTH,
GP
www.solutionfinders.nl