cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
5590
Views
5
Helpful
8
Replies

Password Change Using SNMP

snoop-09
Level 1
Level 1

Is there a way to use SNMP to change a device or enable password?

8 Replies 8

Joe Clarke
Cisco Employee
Cisco Employee

Yes. See http://www.cisco.com/en/US/tech/tk648/tk362/technologies_tech_note09186a0080094aa6.shtml on how to use the CISCO-CONFIG-COPY-MIB to upload and download device configurations. To change an enable [secret] password on an IOS device, you would simply upload a config snipet such as:

enable secret s3cr3t

end

I am prevented from using anything but SNMPv3 due to security policy. I want to know if there is a way to use only the SNMPv3 protocol to change the password?

Same procedure applies, just use SNMPv3 arguments to your SNMP tools.

I cannot use TFTP - that protocol is not permitted through the perimeter security boundary. I need a method that only uses SNMPv3.

There is no way to do a password change with just SNMP. SNMP is simply a catalyst protocol that triggers a config transfer.

You may not able to directly reset a password, however SNMP could help reset a password by upload/download the config. See http://www.petri.co.il/csc_reset_admin_password_with_cisco_snmp.htm for details, cheers.

This MIB does not work on router 3845.

I can not find any MIB that work on the 3845.

I snmpwalked on the router,

enterprises.9.9.96.1.1.1.1.2.111 = INTEGER: 1

enterprises.9.9.96.1.1.1.1.3.111 = INTEGER: 4

enterprises.9.9.96.1.1.1.1.4.111 = INTEGER: 1

enterprises.9.9.96.1.1.1.1.9.111 = INTEGER: 2

There are something missing.

Regards

Kelvin Cheung

Exactly what SNMP sets did you send to the router, and what was the responses? The CISCO-CONFIG-COPY-MIB is supported on the 3845, and this procedure should work barring any bugs.