05-04-2015 12:14 AM - edited 07-05-2021 03:07 AM
hello, i need to move 250 AP from the Primary WLC to the Secondary, is there a Script i can use? or commande line to switch the HA ?
I do not have Prime...
Tx for your help on this!
B
05-04-2015 02:28 AM
hello, i need to move 250 AP from the Primary WLC to the Secondary, is there a Script i can use?
Use CLI. It's faster.
1. First, generate a "report" of the total amount of APs using the command "sh ap summary".
2. Get the result and remove all the details except the name of the AP.
3. The command to move the AP from one controller to the other is: config ap primary <WLC name> <AP NAME> <WLC Management IP address>
4. Cut and paste in the controller where the AP is located and the APs should move in the next 20 seconds.
05-04-2015 02:52 AM
hello, thanx for this answer, but as i already have a secondeary and primary WLC configured, i need to first remove the Secondary and enter the primary, becasue the IP and name should be UNIQUE.
Is there a way to switch (put the secondary to primary and viseversa ?)???
Tx for your answer.
B
05-04-2015 04:24 AM
Put a fictitious name and IP address as your primary and then put the correct details into your secondary. Then reverse.
05-04-2015 05:43 AM
Since you already have the primary/secondary configured, you just need to put a bogus primary host name and IP address. This will make the AP's move to the secondary and when your ready to move them back, just add the primary info back in. CLI is the fastes way to do this.
-Scott
05-05-2015 02:31 AM
bouchal-38 if you have Prime Infrastructure installed, it's easy to create a template and apply it to all devices you want.
let me know if you have PI installed so I can guide you to do it.
I always do templates instead of scripting.
05-05-2015 02:48 AM
hello, thanks to all of you for those response, i do not have prime installed. But the CLI is very easy.
That's what i was expecting.
Tx.
B
08-28-2017 12:35 PM
Hey Bouchel, We have PRIME just rebuilt and I read several times it's easy to use the templates for AP moving but do not have a clue how to go about it moving 87 APs to the primary controller then back to secondary and then back to primary for some maintenance that needs to be done.
point to fake controller
Config ap primary-base “fake-WLC” ap-name 0.0.0.0
Config ap secondary-base “fake-WLC2” ap-name 2.2.2.2
Then point to real controller
Config ap primary-base “real-WLC” ap-name “real-ip-address”
Config ap secondary-base “real-WLC2” ap-name “real-ip-address”
08-28-2017 06:16 PM
If you don't have Prime I suggest using a Excel sheet.
Get the output of:
config paging disable
show ap summary
From there, select the APs you want to move and copy paste them in Excel.
concante the <AP_NAME> with this command:
config ap primary-base <WLC_NAME> <AP_NAME> <WLC_IP>
Expand the formula and paste these commands in your existing WLC.
Hope it helps, otherwise I would advise to open a TAC case and have someone help you.
02-19-2023 05:09 AM
Here is a method , valid for Catalyst 9800, a python script using netconf.
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