cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
846
Views
0
Helpful
1
Replies

how to change password by using SNMP

trinawong
Beginner
Beginner

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!

1 Reply 1

deilert
Frequent Contributor
Frequent Contributor

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

end

snmpset -c rw string x.x.x.x .1.3.6.1.4.1.9.2.1.53.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)

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: