How to add MAC address to local list via CLI

Hi Experts,

I was able to create a local list through the interface, however I know that this has limitations such as maximum Hosts is 47.

I read online on Cisco Forums that it is possible to add hundreds of MAC addresses through
the CLI, however I was not able to find any KB on the steps.

I am looking for steps such as:
ap#configure terminal
Conf-inf) Mac (ect..ect..

A screen shot or video is preferable !

Thank you!
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Craig BeckCommented:
~47 is the limit via the GUI, but yes you can add up-to 2048 MAC addresses via the CLI IIRC.

conf t
username aabbccddeeff password aabbccddeeff
username aabbccddeeff mac-auth-only
username 001122334455 password 001122334455
username 001122334455 mac-auth-only

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
BeenardinoAuthor Commented:
Hi Craig,

When I follow your steps above.

I only created a username under administrators in the Interface...

This did not help me.

My question might be a bit vague. I hope this helps for clarification.

I need to add MAC-addresses from host to a local list I have already created, however I need to do this through the command-prompt since I will be reaching the 47-limit soon.

I tired your steps Craig but I verified through the GUI local list and trying to connect using the host (the added MAC)

The model of the AP is 1242.

Please advise
Craig BeckCommented:
The steps I provided are for the command-prompt style interface, not the GUI.

The username command at the CLI is also used for providing MAC-Authentication.  When using MAC-Auth, the MAC address of the client is actually passed to an authentication server as a username.

You need to connect to the console of the AP via Telnet/SSH or console cable then enter those commands (obviously enter the actual MAC addresses, not the examples I provided).
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

BeenardinoAuthor Commented:
Hi Craig,

I think there is a misunderstanding somewhere.

The first attachment is the Result I obtain after I use your steps in CLI.

The Second Attachment is what I am trying to obtain notice the Local List of MACs.

I am trying to add MAC address to this list through the CLI..

When I use your steps (please refer to the 1st attachment) I am not able to connect through the network.
Craig BeckCommented:
I think you're doing it wrong...

Can you post the configuration file?
BeenardinoAuthor Commented:
Hi Craig,

Do you mind if I post the steps instead?

All of the following steps was done In GUI.

1st) Security>SSID Manager> Choose SSID , under Open Authentication choose (with MAC

2nd) security>advance> add to the local list the MAC address.

The following steps are the steps you advise me to do.

(please refer to the 3rd attachment.)
Craig BeckCommented:
Ok, you didn't enter the commands exactly as I showed you.  You need to enter the MAC without the .


username aabbccddeeff password aabbccddeeff


username aabb.ccdd.eeff password aabb.ccdd.eeff

Then, you tell the AP that the username can only be used for MAC-Authentication:

username aabbccddeeff mac-auth-only       (notice the space between the MAC-Address and the mac-auth-only parameter)
BeenardinoAuthor Commented:
Thank you for your patience!
Craig BeckCommented:
A pleasure :-)
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.