cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2566
Views
0
Helpful
3
Replies

OID to set the enable password???

jeff.bankston
Level 1
Level 1

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

1 Accepted Solution

Accepted Solutions

steve.busby
Level 5
Level 5

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

View solution in original post

3 Replies 3

steve.busby
Level 5
Level 5

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

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

nhabib
Level 9
Level 9

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

Review Cisco Networking for a $25 gift card