Solved

SNMP to change AP7532 V7.3.1

  • 13 April 2021
  • 4 replies
  • 36 views

Userlevel 2

Hi all

  is it possible to use SNMP to change a forgotten admin password  ? I changed the PW and forgot to make a note of it - oops 

 

 

icon

Best answer by Chris Kelly 14 April 2021, 14:57

Essentially, yes.

 

What I would do though is:

Take the backup copy and edit it and remove the entire management policy section

Factory reset AP (login: reset/FactoryDefault)

Enter new password when prompted

Enter: enable

Enter: config t

Copy and paste the edited backup config (with the removed management policy) at the prompt: (config)#

Scroll back through all the pasted entries and make sure that none of them caused an error.  If there is an error somewhere, reply back here or try to understand why that particular entry caused the error and fix it.

Enter: commit write (This will then save the pasted running config into the startup-config)

Reboot the AP: reload

Login using your new password and check the config to make sure it’s what you pasted.

Save your new password somewhere safe. :)

 

View original

4 replies

Userlevel 2

Hi

   chucked up some errors about Nsight, ignored them , rebooted, normal service is resumed :thumbsup::grinning:

Password recorded this time 

thanks

Phil

Userlevel 6

Essentially, yes.

 

What I would do though is:

Take the backup copy and edit it and remove the entire management policy section

Factory reset AP (login: reset/FactoryDefault)

Enter new password when prompted

Enter: enable

Enter: config t

Copy and paste the edited backup config (with the removed management policy) at the prompt: (config)#

Scroll back through all the pasted entries and make sure that none of them caused an error.  If there is an error somewhere, reply back here or try to understand why that particular entry caused the error and fix it.

Enter: commit write (This will then save the pasted running config into the startup-config)

Reboot the AP: reload

Login using your new password and check the config to make sure it’s what you pasted.

Save your new password somewhere safe. :)

 

Userlevel 2

Hi

   thanks for the reply, I have found a backup of the config, but I can’t see the admin PW in clear text, so Would it work if I factory default the unit login to it as a new unit, export the startup-config copy the line out under “management-policy default “ user admin password 1 xxxxxxxxxxxxx role superuser access all 

and paste it into the the backed up config ? this would then use the pw I set . then copy the startup-config back to the AP  (NVRAM) and restart, so it should have original config but with the new password ?

Phil

Userlevel 6

Phil, I’m not aware of any way to change the user pw using SNMP. In the past, any time someone has forgotten the admin account password, the only thing that could be done is reset the device.

But...that was normally for cases of users using WiNG controllers, but in your case you seem to be indicating that it’s just for a single AP/model AP.  Is this a VC deployment or just an autonomous AP?  If so, you COULD adopt the AP to a controller or VC which would then assign management policy to the AP with a known pw. Short of that, I can’t think of any other way to recover.

Reply