Wireless Access

Reply
Highlighted
Occasional Contributor I

Run commands on Aruba 3600 using SNMP

Apologies if this is in the wrong place.....is there any way to run a command on an Aruba 3600 controller using SNMP. Due to an unexpected uptake in wireless services our controller keeps running out of IP addresses in its DHCP pool (understand that this is limited to 512 clients on this controller) - so I find myself running a CLEAR IP DHCP BIND command sometimes twice a day.

 

We are looking at an external DHCP server, but until then I want to wriet a script that will run the command every 4 hours or so....

 

All help gratefully recieved.

Highlighted
Moderator

Re: Run commands on Aruba 3600 using SNMP

A python pexpect script that simply logs in and runs the command would be a better option. I don't think you can clear leases via SNMP



If this response is more than 1 year old, it may no longer be accurate. Please consult official Aruba documentation, TAC or your Aruba SE.

| Aruba Alumni | @timcappalli | timcappalli.me |

Highlighted
Occasional Contributor I

Re: Run commands on Aruba 3600 using SNMP

have you got a script I could "borrow" - not very familiar with Python...

Highlighted
Moderator

Re: Run commands on Aruba 3600 using SNMP

I don't have one, but this should get you started:

 

http://www.copyandwaste.com/posts/view/pexpect-python-and-managing-devices-tratto/

 



If this response is more than 1 year old, it may no longer be accurate. Please consult official Aruba documentation, TAC or your Aruba SE.

| Aruba Alumni | @timcappalli | timcappalli.me |

Highlighted
Guru Elite

Re: Run commands on Aruba 3600 using SNMP


@paul.williams wrote:

Apologies if this is in the wrong place.....is there any way to run a command on an Aruba 3600 controller using SNMP. Due to an unexpected uptake in wireless services our controller keeps running out of IP addresses in its DHCP pool (understand that this is limited to 512 clients on this controller) - so I find myself running a CLEAR IP DHCP BIND command sometimes twice a day.

 

We are looking at an external DHCP server, but until then I want to wriet a script that will run the command every 4 hours or so....

 

All help gratefully recieved.


Paul.williams,

 

Why don't you just decrease the lease time?

 


*Answers and views expressed by me on this forum are my own and not necessarily the position of Aruba Networks or Hewlett Packard Enterprise.*
ArubaOS 8.5 User Guide
InstantOS 8.5 User Guide
Airheads Knowledgebase
Airheads Video Knowledge Base
Remote Access Point Solution Guide
ArubaOS Consolidated Release Notes
ArubaOS 8 ViA VPN Solution Guide
Highlighted
Occasional Contributor I

Re: Run commands on Aruba 3600 using SNMP

Yep - that was my suggestion, but I was told that this would cause the users issues....

 

Our lease is current set to 24 hrs, which means that someone logging in at 3pm for two hours holds the IP address until 3pm tomorrow even if they are not in the office.....I have tried expalining this but we have been told my higher ups that reducing the lease is not an option to be investigated.

 

We are looking at an off device DHCP server (possibly InfoBlox) or replacing the controllers with one that can cope with more than 512 IP addresses.