05-11-2011 01:56 PM - edited 07-03-2021 08:11 PM
Hello,
I would like to get a list of the associated APs on my controller. I would like the list to show the name of the AP, the Ethernet MAC, and the Base Radio MAC address. I planned to do a show run-config, save that information to a file and then parse that file for the information I want, but I am guessing there is an easier way. If so I would appreciate a point in the right direction as I am having trouble locating such a command.
Thanks,
Mike
Solved! Go to Solution.
05-12-2011 06:29 AM
I'm not aware of a single command that shows all APs and both MAC addresses (but it might exist?). Maybe an AP Inventory report in WCS can do it?
In the show run-config, you are correct that the AP Config section shows all the information you want....
But if you look near beginning and near end of the AP section, you can find a list of AP Summary where the first one lists all the APs with the Ethernet MAC, and then toward the end in the Radio section you'll see a list of all the APs with thier base radio mac..... Maybe you can combine those two lists and it be easier than trying to parse through each AP....?
The AP group stuff starts at: "AP Summary"
The Radio stuff starts at: "802.11a Advanced Configuration"
05-11-2011 03:13 PM
I would like the list to show the name of the AP, the Ethernet MAC, and the Base Radio MAC address.
I hope you like doing this CLI because the command is: sh ap config general
I planned to do a show run-config, save that information to a file and then parse that file for the information I want, but I am guessing there is an easier way.
Here's an easier way: What config???? The AP doesn't have a config, per se. All the config comes from the WLC. The only thing different are the IP addresses, hostname and location (among other things).05-12-2011 06:19 AM
leolaohoo wrote:
I would like the list to show the name of the AP, the Ethernet MAC, and the Base Radio MAC address.
I hope you like doing this CLI because the command is: sh ap config general
Here's an easier way: What config???? The AP doesn't have a config, per se. All the config comes from the WLC. The only thing different are the IP addresses, hostname and location (among other things).I planned to do a show run-config, save that information to a file and then parse that file for the information I want, but I am guessing there is an easier way.
I do like doing things the CLI way. However the command sh ap config general
I know the vast majority of the config is on the controller. I said in my question that I want to view that information for all APs on the current controller. When I referenced show run-config I meant on the controller. The output of that command shows all the information I want (AP Name, Ethernet MAC, Radio MAC, for ALL APs) but it also displays a barrage of other information. I was hoping there was a command that still displayed all of that information but in a more concise way.
05-12-2011 06:29 AM
I'm not aware of a single command that shows all APs and both MAC addresses (but it might exist?). Maybe an AP Inventory report in WCS can do it?
In the show run-config, you are correct that the AP Config section shows all the information you want....
But if you look near beginning and near end of the AP section, you can find a list of AP Summary where the first one lists all the APs with the Ethernet MAC, and then toward the end in the Radio section you'll see a list of all the APs with thier base radio mac..... Maybe you can combine those two lists and it be easier than trying to parse through each AP....?
The AP group stuff starts at: "AP Summary"
The Radio stuff starts at: "802.11a Advanced Configuration"
05-12-2011 07:00 AM
weterry wrote:
I'm not aware of a single command that shows all APs and both MAC addresses (but it might exist?). Maybe an AP Inventory report in WCS can do it?
In the show run-config, you are correct that the AP Config section shows all the information you want....
But if you look near beginning and near end of the AP section, you can find a list of AP Summary where the first one lists all the APs with the Ethernet MAC, and then toward the end in the Radio section you'll see a list of all the APs with thier base radio mac..... Maybe you can combine those two lists and it be easier than trying to parse through each AP....?
The AP group stuff starts at: "AP Summary"
The Radio stuff starts at: "802.11a Advanced Configuration"
Sounds good... looks like I am off to write a script that grabs the information from show run-config and parses it for the information I need.
Thanks for the help.
Mike
05-27-2015 12:29 PM
I know this is an old thread, but anyone else looking for this info, there's a command that shows the info you are looking for (tested in v7.4 and v7.6):
show ap join stats summary all
Shows the Base MAC, AP EthernetMAC, AP Name, IP Address, Status
Hopefully this helps someone else out as well :)
Thanks,
-casey
04-11-2017 07:00 AM
This worked like a champ. Thanks
11-29-2017 11:26 AM
I found this one as well looking for a quick export of radio macs. There is also
'show ap config [802.11a/802.11b/802.11-a49/802.11-a58/general/slot] <Cisco AP>'
show ap config 802.11a summary
-Bill
06-13-2024 08:04 AM
still works on 5520 wlc
04-02-2019 06:29 AM
01-12-2022 04:20 AM
I know this thread is very old :
But just in case somebody need to known the mac radio to check if some AP are well associated for WLC 5500 and 2500.
To find the radio MAC with name
snmpwalk -v 2c -c snmpv2c_community WLC_DNS_or_IP 1.3.6.1.4.1.14179.2.2.1.1 | grep -i AP1602-BLABLABLA
SNMPv2-SMI::enterprises.14179.2.2.1.1.3.232.237.243.26.11.11 = STRING: "CO-AP1602-BLABLABLA"
232.237.243.26.11.11 : It's the AP RADIO MAC in Decimal.
You can monitor the association to WLC with this OID adding the radio mac in decimal at the end.
snmpwalk -v 2c -c snmpv2c_community WLC_DNS_or_IP 1.3.6.1.4.1.14179.2.2.1.1.6.232.237.243.26.11.11
SNMPv2-SMI::enterprises.14179.2.2.1.1.6.232.237.243.26.11.11 = INTEGER: 1
Integer:1 ==> Well associated
Hoping this can help someone
Danidan
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