07-11-2013 02:16 AM - edited 07-04-2021 12:23 AM
I have already configed all ap with primary & secondary controller address per ap parameters, I want to remove the paramters quickly ,I found the command : config ap secondary-base controller_name cisco_ap [controller_ip_address] , that can added in wlc cli , but I can't find the way to remove the secondary controller ip address in wlc cli
the wlc is ct5508 with 7.0 os
anyone has suggestion?
thanks a lot
Best Regards
Solved! Go to Solution.
07-11-2013 04:36 AM
Yeah there is no way to remove it clean from the cli. I had to manually remove each on the AP. I even tried putting a blank value and that didn't take.
Sent from Cisco Technical Support iPhone App
07-11-2013 04:36 AM
Yeah there is no way to remove it clean from the cli. I had to manually remove each on the AP. I even tried putting a blank value and that didn't take.
Sent from Cisco Technical Support iPhone App
09-25-2014 03:06 PM
Here are a two suggestions:
1. If you use Cisco Prime Infrastructure (or WCS) to manage your WLC, you can create a Lightweight AP Configuration Template to specify the Primary Controller Name and IP Address, and to specify a blank value (choose the first blank option in the drop down list) and 0.0.0.0 for the Secondary and Tertiary Controllers. Then you can apply that template to the AP's and it should remove (blank out) the values in those fields.
2. From the WLC CLI, you can run the following commands to blank out the fields:
config ap secondary-base ' ' APHOSTNAME 0.0.0.0
config ap tertiary-base ' ' APHOSTNAME 0.0.0.0
Note that between the quotes there are spaces. The secondary-base command has one space, the tertiary-base command has two spaces (the names have to be unique). While this does not completely blank out the field, the spaces do not resolve to a valid WLC hostname so it has the same effect and the AP ignores the spaces.
Both of these suggestions worked in our environment.
Hope this helps.
10-14-2015 12:22 AM
Thanks a lot Jwaas. That works perfectly !!!
12-16-2015 10:34 AM
Thanks Jwaas9876.
It works!
12-11-2019 10:32 PM
Thanks. It worked.
09-29-2021 05:26 PM
Thanks for sharing man !!!
02-21-2017 05:40 AM
*edited
08-14-2020 09:42 AM - edited 08-14-2020 09:48 AM
config ap secondary-base '' APNAME 0.0.0.0 = This command does not work as it ask for switch name.
config ap secondary-base ' ' APNAME 0.0.0.0 = This command does work but it adds extra space to the field.
If you go to Controller GUI, Wireless tab and access point you cleared out secondary controller information, click and change any access point setting or host name while in GUI or to change any config in the access point via GUI, it will says Secondary Switch : : has trailing or leading spaces in it. Make necessary corrections and try again. If you put NULL in the above command instead of quotes, it put NULL in the Secondary Controller Name field. At this point, you can save config for specific AP while in GUI. Any c++ command you put as controller name to keep it empty, won't take it at least I know of unless you click on each and every access point and go to high availability setting to back space and save to let it save.
08-14-2020 10:42 AM
08-14-2020 10:51 AM - edited 08-14-2020 11:01 AM
Command works and space is what screwing it up when you try to save config while going to wireless >> Access Point you try to save while in GUI, it errors out because it has leading space under high availability>> secondary controller name field.
With this save you can save the access point config in the GUI without error out.
config ap secondary-base NULL APNAME 0.0.0.0
config ap secondary-base ' ' APNAME 0.0.0.0 works in the command line but
it will put extra space secondary | space| . This will not allow access point to save any config changes to the access point.
08-14-2020 11:31 AM
08-14-2020 11:38 AM - edited 08-14-2020 11:40 AM
I got like 64 APs. I can use the command, it does work and adding High Availability >>> Secondary Controller Name Box a space because using ' ' , controller does not take '' as input when clear out the controller IP address. I created C++ script to do it repetition. Therefore; when using ' ' in the command line to clear the secondary controller name, it puts a space in the Secondary Controller Name Box in GUI. Because of that space, it does not allow to make any configuration change to Access Point while in GUI. But, I got around using NULL so that if I use any changes in GUI to access points, it does work having to login to all 64 access points and put cursor in Secondary controller name box and hit backspace 64 times.
08-14-2020 11:52 AM
08-14-2020 12:05 PM - edited 08-14-2020 12:08 PM
The problem is not whether use " or ' , the problem is it adds a space to secondary controller name box in the GUI which prevents Access Point config saving while in GUI. I attached a picture. Controller GUI does not allow leading space that put in the secondary controller name box by using ' ' or " " with full command to set the secondary controller ip 0.0.0.0
It is a bug, no wait it is a feature. :)
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