how to change password by using SNMP

Unanswered Question
Mar 5th, 2007

Dear all,

Router is inaccessible currently, may I know how to change the password by using SNMP? any documentation can i refer to?

Thanks a lot!

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
deilert Mon, 03/05/2007 - 04:56

You have to be able to ping the box , can you reach the router via ping ?

this is the syntax , you may have to play with it a little depnding on what kind of server you are using (SUN HP etc)

Make a file on /tftpdir name it whatever you want in this case named pw

chmod to 666

the file pw contains

conf t

enable secret cisco


snmpset -c rw string x.x.x.x . octetstring pw

the rw string = the read write snmp comm string configured on the router

the first x.x.x.x it the ip of the router

the second x.x.x.x is the ip address of the nms server(your unix box)


This Discussion