01-19-2022 12:59 AM - edited 01-19-2022 01:07 AM
What is the best way to export (dump) a list of all AP's on a 9800 controller?
Is it just show ap summary ?
There are several thousand AP's and ideally I want to get an export in CSV format.
I plan to write a script to export and format as required.
Thanks!
01-19-2022 02:15 AM
we use old days in Prime, now in DNAC, do you have DNAC or Prime in your environment
check below script may help you (not tried) - but some point i will do. ( this script get you idea how can you get the information)
01-19-2022 02:22 AM
No prime/DNA, just standalone controllers at this time.
Thanks for th script, will look¬
01-19-2022 03:56 AM
What is the purpose of exporting the list of AP's? If you just require the AP names show ap summary is more than enough.
If you need to view the AP tags assigned to AP use show ap tag summary. Again it depends on what information you need capture and export. Below are some other useful commands if you want to grab detailed info
show ap name XXXX tag
show ap name XXXX tag detail
show ap config general
show ap config slot
show ap image
show ap cdp neighbors
show ap dot11 24ghz summary
show ap dot11 5ghz summary
01-19-2022 04:01 AM - edited 01-19-2022 04:04 AM
We require the AP Name and the Base Radio MAC, that is all. Does show ap summary provide the radio MAC or just name?
Thanks
01-19-2022 04:10 AM
It will provide Radio MAC. Sample below
01-19-2022 04:43 AM
Perfect - is that safe to run when over 1000+ APs? How to get it without pagination etc.
Thanks
01-19-2022 06:05 AM
"term len 0" turns off paging
Yes it should be fine.
01-19-2022 06:11 AM
Even of you use this, still it will list as pages. 10AP's per page. I would suggest to use filters like
sh ap summary | include <some common part of the ap hostname> or other filters like exclude
01-19-2022 06:53 AM
Hi @Arshad Safrulla maybe that's something that's been fixed in later releases. On 17.6.1 it definitely presents it as one long list as you would expect when using term len 0. I've just checked to make absolutely sure.
01-19-2022 12:40 PM - edited 01-19-2022 12:40 PM
@Rich R You are absolutely correct, I downgraded my LAB to 17.2.X to reproduce a bug, in that it was only 10 AP's per page. After upgrading the 17.3.4c it presents all as one long list.
01-20-2022 12:33 AM
Thank you for the info.
07-21-2023 06:41 AM
I wrote a script that does just that
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