07-04-2017 08:42 AM - edited 07-05-2021 07:17 AM
Hi,
I bet this question has been asked many times, but i couldn't find any satisfying answer.
Is there a CLI command to force an AP to join another WLC without the need of rebooting it.
My enterprise uses two 5508 WLC.
Thanks in advance for your answers
07-04-2017 08:48 AM
I'm only aware of the command "capwap ap controller ip address ip_address" to instruct a lighweight AP to join a particular controller should the discovery process fail or not return a list of controllers. Note though that once the AP attempts to join the controller, it may reboot if either the software load is different or during the process of applying the configuration provided by the controller.
Thanks,
Darren
07-04-2017 09:11 AM
Thanks Darren. But I guess my question wasn't clear enough.
I need to migrate all the APs associated with one WLC (seondary) to another one (primary). Even if the primary controller parameters are set in the high availibility controller tab, the APs stay associated to the secondary one. And i need to do this operation through CLI
07-04-2017 10:15 AM
Have you configured AP Fallback (Controller -> General -> AP Fallback) on all controllers in your environment? This will ensure that when the primary controller comes back online that APs will automatically fail-back to it.
07-04-2017 11:48 AM
I confirm. AP Fallback is enabled on both WLCs.
07-05-2017 09:47 AM
If you have the same image on both controllers, you should be able to manipulate where they connect by changing the primary controller settings...
config ap primary-base Controller_name AP_name Controller_IP
If you make this change it will overwrite the existing Primary Controller configured on the AP (please be aware), but should allow for the "graceful" migration you requested. (if the priority is already set, which it appears to be from your post, you may need the additional step below)
If the AP does not migrate, you could try changing the "priority" of the AP, which would force a lower priority AP off the controller (and presumably onto the other controller)...
config ap priority 4 AP_name
For this to work, the existing APs would have to be at a lower priority. If they are not, you can use a similar command for the APs you want to move off the primary but using a number lower than 4. I've had success with this method on a number of release versions in the past when needing to juggle APs on 5508 controllers without rebooting them. Hope this works for you.
PS
These commands are one AP at a time so you will have to build a list of APs. The quickest I've found is to make sure your screen is set wide enough for the show ap summary output with one AP per line and issue these commands...
config paging disable
show ap summary
Then grab the session output and use a text editor with block mode editing (like Notepad++) to strip the unnecessary columns and insert the commands in front of the column of AP names. The process to build the commands for 500 APs can literally be done in minutes (<2).
07-07-2017 01:03 AM
Hi Patrick,
Thank you for your quick answer. I used those commands but unfortunatly, it didn't work. The AP stays sticked to the secondary controller. I also tried to use GUI : i set only the primary controller's parameter on the high availability tab for one AP, i put its failover priority to "High" , but the result stays the same.
The software version used on our WLCs is 8.0.121.0.
08-02-2018 08:02 PM
hello dear,
Would you please elaborate what's the exact license issue you mentioned and how did you get the issue resolved as I encounter the same.
Thanks in advance.
07-24-2017 07:16 AM
Hi,
There was a licence issue. That's what explain why the APs wouldn't associate to the primary controller.
After having resolved that licence issue, the rest was done on its own.
Many thanks again for your help.
08-02-2018 08:00 PM
08-06-2018 02:47 AM
04-25-2022 02:52 AM
capwap ap controller ip address ip_address
(Cisco Controller) >capwap ap ?
(Cisco Controller) >capwap ap
no such commands
04-25-2022 03:55 AM
That "capwap ap" command is on AP CLI.
For WLC CLI try these:
config ap primary-base <wlc_name> <APName> <wlc_ip>
config ap secondary-base <wlc_name> <APName> <wlc_ip>
HTH
-Jesus
*** Please rate helpful responses ***
04-25-2022 12:36 PM
After auth-list add mic
The app is showing in ap join stats summary list but is not getting joined
As the AP primary controller is same one
Ap also broadcasting Disable Bssid
04-27-2022 12:02 PM
thank you
the issue was resolved
as someone enabled the aaa auth and the AP cant join
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide