catos password change via snmp

Unanswered Question
Jul 13th, 2009
User Badges:
  • Purple, 4500 points or more

Anyone know how to change a catos device password , telnet or enablepass via snmp if you know the community strings. Have been unable to find anything on the website and don't want to have to go thru the manual recovery process. Any webpages I can look at ?

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Lucien Avramov Mon, 07/13/2009 - 19:09
User Badges:
  • Red, 2250 points or more

Basically you can only do the following :


-Download the router config using SNMP

-Change the password on the config file

-Upload the new router config to the router from the tftp server

-Copy the changes to NVRAM


To download / upload the router config :

http://www.cisco.com/en/US/tech/tk648/tk362/technologies_tech_note09186a008009463e.shtml


To save the changes to NVRAM:

Snmpset -c rw-string #.#.#.# .1.3.6.1.4.1.9.2.1.54.0 integer 1

where:

the rw-string is the router read-write snmp community string AND #.#.#.# the ip address

glen.grant Tue, 07/14/2009 - 03:11
User Badges:
  • Purple, 4500 points or more

This appears to be for a IOS box .The issue is with catos boxes running 7.X version software. Seems strange there isn't a way to change things via snmp like the passwords .

glen.grant Tue, 07/14/2009 - 09:11
User Badges:
  • Purple, 4500 points or more

May have found a solution. I found a box that I know the passwords are correct and copied and pasted the "set password and set enablepass lines with the password strings into a file with beginning and end statements for a unix file and then you can config net the file with just the 2 statements and that will change the password without having to know the old password.

Actions

This Discussion