Wireless Access

Reply
Occasional Contributor II
Posts: 21
Registered: ‎07-09-2009

Database Cleanup

Collin,  A while back you had a command to use to putty into the controllers and clean up the old ap's that were no longer in use or had been deleted.....Can you repost that command.  I can't see to find it.

Thanks, Donna

Occasional Contributor II
Posts: 13
Registered: ‎01-12-2012

Re: Database Cleanup

Not sure if this is what you are looking for but I use the following command to get rid of  AP's no longer in use but it you have to run it per AP.

 

 

Master_3600) #clear gap-db ap-name  AP_NAME_HERE

 

Master_3600) #clear gap-db wired-mac  MAC_HERE

 

 

 

 

===========================
Edwin Collins, ACMP-CWNA
Draeger Medical Inc - TIS-Wireless Network Specialist
===========================
Occasional Contributor II
Posts: 21
Registered: ‎07-09-2009

Re: Database Cleanup

OK, wasn't sure if you had a "global" one you could run to clean out all the down ap's on that controller.

Occasional Contributor II
Posts: 13
Registered: ‎01-12-2012

Re: Database Cleanup

You can clear the entire WMS Database by running

 

 

#wms clean-db  

 

 

(I am not recommending that it clears the entire wms DB).

 

 

But I have never seen a command ran to clear all inactive or duplicate IPs, you would think you could run a command to delete them based on the flags but it doesnt work.

 

 

 

 

 

===========================
Edwin Collins, ACMP-CWNA
Draeger Medical Inc - TIS-Wireless Network Specialist
===========================
Occasional Contributor II
Posts: 21
Registered: ‎07-09-2009

Re: Database Cleanup

Ok, thanks for your suggestion!

Guru Elite
Posts: 21,029
Registered: ‎03-29-2007

Re: Database Cleanup

[ Edited ]

Donna wrote:

OK, wasn't sure if you had a "global" one you could run to clean out all the down ap's on that controller.


****DO NOT use wms clean-db!  You will clear out much more than you bargained for!

 

Donna,

 

You would use the "lms" portion of the command which should clear out every AP that is down, that terminated on the ip address of the controller.  For example, if i wanted to clear all the aps that are down on a controller, I would do:

 

clear gap-db lms <ip address of controller>



Colin Joseph
Aruba Customer Engineering

Looking for an Answer? Search the Community Knowledge Base Here: Community Knowledge Base

Search Airheads
Showing results for 
Search instead for 
Did you mean: