INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS
Come Join Us!
Are you a
Computer / IT professional?
Join Tek-Tips now!
- Talk With Other Members
- Be Notified Of Responses
To Your Posts
- Keyword Search
- One-Click Access To Your
- Automated Signatures
On Your Posts
- Best Of All, It's Free!
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.
Partner With Us!
"Best Of Breed" Forums Add Stickiness To Your Site
(Download This Button Today!)
"...your web site's great! I've been using this system for almost a year now and find it really, really helpful. The people have been helpful in answering just about any question you post in the forums..."
Where in the world do Tek-Tips members come from?
SNMP Password Recovery
How do I reset the enable secret password using SNMP
Posted: 4 May 01
There is lots of information to recover lost passwords on the Cisco Website. Most, if not all, involve having console access to the router - but say the router 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> <routerIP/name> .184.108.40.206.220.127.116.11.1.55.ipaddress.of.tftpserver 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 on the same network as the router.
"enable secret <new password>"
3. Then tell the router to boot the config on your tftp server (tftp server needs to be on the same subnet)…
"snmpset -c <write community string> <routerIP/name> .18.104.22.168.22.214.171.124.1.50.ip.address.of.tftpserver octetstring <filename on server>"
And the new config is running, telnet to the router and try your new password… then copy the running config to startup…
Hope this is of some use to someone somewhere...
Back to Cisco: Routers FAQ Index
Back to Cisco: Routers Forum
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:
- Talk To Other Members
- Notification Of Responses To Questions
- Favorite Forums One Click Access
- Keyword Search Of All Posts, And More...
Register now while it's still free!
Already a member? Close this window and log in.
Join Us Close