cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2289
Views
0
Helpful
2
Replies

Change password via SNMP

olddanmer
Level 1
Level 1

I have Wireless Lan Controller AIR-CT2504 with some APs. When I get any SNMP value from it all is fine:

# snmpwalk -v2c -c private wlan-ctl 1.3.6.1.4.1.9.9.521.1.1.1.1.8.4

SNMPv2-SMI::enterprises.9.9.521.1.1.1.1.8.4 = STRING: "*********"

But when I try to change WLAN PSK via SNMP I have some error:

# snmpset -v2c -c private wlan-ctl 1.3.6.1.4.1.9.9.521.1.1.1.1.8.4 s megapass

Error in packet.

Reason: commitFailed

Failed object: SNMPv2-SMI::enterprises.9.9.521.1.1.1.1.8.4

"debug snmp all" at the controller:

*SNMPTask: Nov 28 13:14:56.832: SNMPD: Packet from: 192.168.3.21:33280, in_packet_len = 62

*SNMPTask: Nov 28 13:14:56.832: SNMPD: calling srDoSnmp.

*SNMPTask: Nov 28 13:14:56.832: SNMPD: received set pdu

*SNMPTask: Nov 28 13:14:56.832: SNMPD:calling do_sets

*SNMPTask: Nov 28 13:14:56.832: snmpd: Attempt to set object cLWSecDot11EssPsk

*SNMPTask: Nov 28 13:14:56.832: pass 1 of set request processing done

*SNMPTask: Nov 28 13:14:56.832: pass 2 of set request processing done

*SNMPTask: Nov 28 13:14:56.832: calling set method which do not have undo methods

*SNMPTask: Nov 28 13:14:56.833: snmp_lwapp_err_add: srcip = c0a80315 reqid = 16760212 ecode = 289

*SNMPTask: Nov 28 13:14:56.833: set failed, undoing

*SNMPTask: Nov 28 13:14:56.833: SNMPD: Sending SNMP packet to 192.168.3.21:33280, out_packet_len = 62

Other values I can setting:

# snmpset -v2c -c private wlan-ctl 1.3.6.1.4.1.9.9.521.1.1.1.1.5.4 x 80

SNMPv2-SMI::enterprises.9.9.521.1.1.1.1.5.4 = Hex-STRING: 80

Help please. This value can not be exchanged at all, or am I doing something wrong?

2 Replies 2

dtekaccount10
Level 1
Level 1

Hello olddanmer,

I would like to know if you have resolved the issue?

Currently I am having the same problem.

I need to change WPA2-PSK via SNMP and snmpset is unable to do it. I receive the "Commit Failed" error.

Best Regards,

Anton Vrublevskiy

Hello,

resolution is described here https://supportforums.cisco.com/discussion/10445356/wlc-4402-and-snmp-values 

For me it doesn`t work with snmpset from SnmpSoft, but work with snmpset from NET-SNMP http://sourceforge.net/projects/net-snmp/

Here is the code

snmpset.exe -v 2c -c test 10.10.10.10 1.3.6.1.4.1.9.9.521.1.1.1.1.7.x i 3 1.3.6.1.4.1.9.9.521.1.1.1.1.8.x s password

where x the WLAN-ID number

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: