Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

4006 CatOS change password remote with SNMP

Is it possible (and how) to change remote a lost admin password with SNMP(R/W)?

Switch 4006 with CatOs

Sven

1 REPLY
Silver

Re: 4006 CatOS change password remote with SNMP

Sven try this

Make a file on your tftpserver like this change the attributes to RW

The below will set the PW to ww

begin

set password $2$CI62$E68eee07hZpaWeWhFTtTu.

set enablepass $2$xu/0$fnNueFUuV4IDJkKlHX.Jp1

end

snmpset -c rwstring switch ip address .1.3.6.1.4.1.9.5.1.5.1.0 octetstring tftpserver ipaddress

snmpset -c RWstring switchipaddress .1.3.6.1.4.1.9.5.1.5.2.0 octetstring filename on tftpserver

snmpset -c RWstring switchipaddress .1.3.6.1.4.1.9.5.1.5.3.0 integer 1

snmpset -c RWstring switchipaddress .1.3.6.1.4.1.9.5.1.5.4.0 integer 2

snmpwalk -c RWstring switch ip address .1.3.6.1.4.1.9.5.1.5

261
Views
5
Helpful
1
Replies
CreatePlease to create content