Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here



How can I recover my enable password using SNMP by fynx
Posted: 25 Jun 01 (Edited 15 Nov 11)

*** This method has now been superseded by the method descibed here


*** Although the method below may still work for *much* older versions of IOS.

Taken from CISCO routers forum, "How do I reset the enable secret password using SNMP FAQ557-705: How do I reset the enable secret password using SNMP "

There is lots of information to recover lost passwords on the Cisco Website. Most, if not all, involve having console access to the switch - but say the Switch is on the other side of the world?
Answer - Use 3 simple steps via SNMP...

1. Read the config to a tftp server...

"snmpset -c <write community string> <switchIP/name> . octetstring <filename on server>"

2. Next edit the configuration substituting the new, plain text, enable secret password and save it back to a tftp server.

"enable secret <new password>"

3. Then tell the switch to boot the config on your tftp server.

"snmpset -c <write community string> <switchIP/name> . octetstring <filename on server>"

And the new config is running, telnet/ssh to the router and try your new password... then copy the running config to startup...

Hope this is of some use to someone somewhere...
Good Luck.

Back to Cisco: Switches FAQ Index
Back to Cisco: Switches Forum

My Archive

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close