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>enable
ap#configure terminal
Conf-inf) Mac (ect..ect..

A screen shot or video is preferable !

Thank you!
BeenardinoAsked:
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
end
0

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
0
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).
0
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.
This-is-what-I-get.PNG
2nd-attachment.PNG
0
Craig BeckCommented:
I think you're doing it wrong...

Can you post the configuration file?
0
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.)
1st-step.PNG
2nd-step-advance.PNG
3rd-step-on-CLI.PNG
0
Craig BeckCommented:
Ok, you didn't enter the commands exactly as I showed you.  You need to enter the MAC without the .

So:

username aabbccddeeff password aabbccddeeff

-NOT-

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)
0
BeenardinoAuthor Commented:
Thank you for your patience!
0
Craig BeckCommented:
A pleasure :-)
0
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
Networking

From novice to tech pro — start learning today.