07-26-2005 05:18 AM
does anyone know the OID to use so that I can use snmp to set my enable password remotely? I'd really not like to have to telnet into 168 devices to do this.
Thanks, Jeff
Solved! Go to Solution.
07-26-2005 06:48 AM
Jeff,
I don't believe there's a direct OID to do what you want, but there is an alternative way of doing it.
Essentially, using SNMP you'll want to pass instructions to your router to load and run a file from a tftp server. The file will contain the necessary commands to change your passwords.
Here's a link that helps explain it:
http://www.cisco.com/en/US/about/ac123/ac114/ac173/Q3-04/dept_ttips_reader.html
Scroll down to "Recovering Lost Passwords on Remote Devices".
HTH
Steve
07-26-2005 06:48 AM
Jeff,
I don't believe there's a direct OID to do what you want, but there is an alternative way of doing it.
Essentially, using SNMP you'll want to pass instructions to your router to load and run a file from a tftp server. The file will contain the necessary commands to change your passwords.
Here's a link that helps explain it:
http://www.cisco.com/en/US/about/ac123/ac114/ac173/Q3-04/dept_ttips_reader.html
Scroll down to "Recovering Lost Passwords on Remote Devices".
HTH
Steve
07-26-2005 10:29 AM
an interesting twist to one of my existing shell scripts, thanks. I'll test it later, but looks like it'll run fine.
Most appreciated.
-Jeff
07-26-2005 07:03 AM
There is no MIB object that corresponds to the enable password
You will have to trigger a tftp download of a configlet via SNMP to the running config of the device
The configlet (simply a text file) would contain something like this:
no enable pass
enable pass Jeff
end
Make sure you end it with end
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide