cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
22887
Views
11
Helpful
8
Replies
Highlighted

Get AP Ethernet MAC and Radio MAC command

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

Everyone's tags (5)
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Enthusiast

Re: Get AP Ethernet MAC and Radio MAC command

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"

View solution in original post

8 REPLIES 8
Highlighted
Hall of Fame Community Legend

Re: Get AP Ethernet MAC and Radio MAC command

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).

Highlighted

Re: Get AP Ethernet MAC and Radio MAC command

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

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).

I do like doing things the CLI way.  However the command sh ap config general does not show the Radio MAC address.  It only shows the Ethernet MAC.

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.

Highlighted
Enthusiast

Re: Get AP Ethernet MAC and Radio MAC command

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"

View solution in original post

Highlighted

Re: Get AP Ethernet MAC and Radio MAC command

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

Highlighted
Beginner

I know this is an old thread,

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

 

Highlighted
Beginner

This worked like a champ.

This worked like a champ. Thanks

Highlighted
Beginner

Re: I know this is an old thread,

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

Beginner

Re: Get AP Ethernet MAC and Radio MAC command

I know this is an old thread, but it looks like it may be relevant to my question. I am looking for a list of AP's Base Radio MAC Addresses in the Cisco Prime Infrastructure web portal. I don't have access to the controller to run commands. So far the only way I have found to get the AP Base Radio MAC Address is to select the AP from the Inventory/Device Management/ Network Devices list individually. I only have 114 AP's, so it will take a little more time than I would like. ANy suggestions greatly appreciated.
CreatePlease to create content
Content for Community-Ad

August's Community Spotlight Awards