Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

We have a Siemens h1000 dslam. We forgot the username and password but i think we can do all activity with snmp My question is How we can reset telnet username and password using SNMP?

Edited->

I can access to the dslam using snmp and can read and write settings via snmp.

for example i can change the sysLocation(oid=1.3.6.1.2.1.1.6)

share|improve this question

1 Answer 1

You must have the following items:

  1. SNMP read/write comunity for SNMP v1, and v2c or username/password that has read/write access for SNMP v3.
  2. The mib file from the manufacturer to find out the OID that you will need to use to have access to user table. If the equipment is not supporting password reset via SNMP, this can be found from these MIBs. Password reset via SNMP capability is dependent on the manufacturer.
  3. SNMP client

If you do not have any of those components, the only solution is to reset the configuration of the equipment. Most manufacturers allows this with a combination of a button(s) (like reset one). Most equipments have an on board TTL3V serial, I2C and/or JTAG port. You can use those too.

share|improve this answer
1  
You've left one rather important item off the list. The device must be capable of having the password reset via SNMP. Simply having write access doesn't mean a given item can be changed. –  John Gardeniers Jul 26 '12 at 7:12
    
@Mircea I can access to the dslam using snmp and can write and read settings via snmp. for example i can change the sysLocation(oid=1.3.6.1.2.1.1.6) –  Ali Jul 26 '12 at 7:51
    
@Ali Do you have the mib from the manufacturer for this equipment? –  Mircea Vutcovici Jul 26 '12 at 15:58
    
@JohnGardeniers you are right. I thought that password reset capability can be found out by reading the MIBs of the equipment. –  Mircea Vutcovici Jul 26 '12 at 16:00
    
@MirceaVutcovici i have the mib files but the mib file is too huge and i didn't find any telnet string in the mibs! as you know there is no good document on snmp using. i can upload mibs if you want;) –  Ali Jul 27 '12 at 9:32

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.