Skip to main content

Pull all AP names from a Cisco WLC easily

How to collect AP Names from a Cisco WLC



So if you are running into this, you've likely have already worked with spreadsheets that help auto-populate commands.  It's pretty simple to create these but I'll give you a little screenshot of a basic use of this in Excel.

Put the AP name in A1 of Excel

Then create a colum with =CONCATENATE("config ap primary-base NAME-HERE  ",A1, " 192.168.1.1")

This will create the command of "config ap primary-base APNAME1 192.168.1.1"

You can then fill in A2, A3 with the rest of the names.  This is useful if you are pulling AP's from one controller to another.

This allows you to create a command list to make instant changes by cutting and pasting into SecureCRT, Putty or whatever your program of choice is.

The first area in black would be the WLC Domain name (WLC01-5520) and the second black part would be the IP (192.168.1.1) as an example.




But what if you don't have the list of AP names?  What do you do?  I've seen people in the past and many years ago - I had also started copying the names one by one from the GUI and never found a good way to pull it from the command line.

Save yourself a lot of trouble please, how?

First use config paging disable

This allows all the names to scroll without --More-- or (q)uit from from showing

Then type in show ap summary

This will then output all of the AP names on that WLC and a bought of other information.  You'd think you can then just bring this all over to Excel?  It's simple but you need to know one thing in excel to get this.

Cut and paste all of the information from the show ap summary command

Go to "text to columns" and basically press next two times and you'll then have all of the AP names in their own special column.  This is where you can copy it to an example above if you are wanting to do mass changes to APs like changing the primary controller assignments









Comments

Popular posts from this blog

Finding WLAN issues from the Windows Client Side

What happens when you've done everything from the wifi side of diagnosis a problem dare I say a ghost problem? What if the situation within your network seems perfect, you can't find anything in packet captures, Prime or off your WLC - What other options do you have?  Luckily, I found plenty! One of the handiest tools I like to use when onsite and starting to check clients out is the NETSH command in command line. Doing a roaming analysis via the client versus on Prime isn't a bad thing some days to give you a real world perspective of when roams happen.  Of course, client debugging in WLCs help too but I figured I'd show you what I do when walking around with a laptop to see the BSSID you are connected to. I use  netsh wlan show interface  Which outputs this:     Name                   : Wi-Fi     Description            : Marvell ...
Ekahau Sidekick Accessory Testing by the WifiSpy I decided to test two products to augment my Surface Pro 4 running Ekahau 10 that will help prevent accidents from happening with the cable and allow free and easy movement as you survey.  Safety should be #1 if you do work in any production/warehousing/manufacturing facilities. The items tested today were Griffin Breaksafe Magnetic Breakaway USB Adapter, Standard USB Type a  https://www.amazon.com/gp/product/B0759FKCK8/ref=ppx_yo_dt_b_asin_title_o00_s00?ie=UTF8&psc=1  priced at 19.99 at the time of the writing. The other was this coiled USB to Micro-USB cable.   https://www.amazon.com/gp/product/B071D8VB2T/ref=ppx_yo_dt_b_asin_title_o01_s00?ie=UTF8&psc=1   So first I will talk about the Griffin device.  Why would you want something like this?  If you've owned a MacBook in the past with the breakaway power cord, there isn't much more I can say ab...