11-16-2004 08:49 AM - edited 07-04-2021 10:10 AM
I have two aironet 1100 access points and i require to activate the mac authentication. First of all, I managed to do all the things I needed (add/remove mac addresses) using the web interface. After that, I tried to use the telnet console. Then the problems emerged. I'm not using or considering using any radius server or other type, just the local AP database. How can I add a new user to the local database? I've tried to use the comand "username mac_address 7 password .... " but then I require a encrypted password which I don't really know. And how can I remove a username (macaddres) from the local database? I don't see any reference to this in any of the Cisco manuals. Sorry for the newbie question but I'm quite lost. Please advise.
Solved! Go to Solution.
11-17-2004 03:12 AM
Hi,
The following should allow you to add local MAC address authentication on your AP using the CLI
on Access Point using Local List
username
username
aaa authentication login
interface Dot11Radio0
ssid
vlan
authentication open mac-address
If you want to remove a MAC address from the CLI you need to negate the command:
no username
If you were to use local authentication of MAC addresses and then fall back to a RADIUS sever if the MAC address wasn't available locallly you can use:
using Authentication Server if MAC address not found in Local List
username
username
aaa authentication login
aaa group server radius
server
radius-server host
interface Dot11Radio0
ssid
vlan
authentication open mac-address mac_methods
and similarly if you only want MAC address authentication to be provided via a RADIUS server you would use:
using Authentication Server only
aaa authentication login
interface Dot11Radio0
ssid
vlan
authentication open mac-address
aaa group server radius
server
radius-server host
HTH
Paddy
11-16-2004 06:30 PM
Go to the GUI. Click on "SECURITY" and "Advanced Security". You can define the MAC address there.
11-17-2004 03:28 AM
Thanks for answering my post, but I would like to configure the access point using telnet (console) commands, not the GUI, since I'm developing some telnet scripts. This way I can add/remove mac addresses in an automatic way.
11-17-2004 03:12 AM
Hi,
The following should allow you to add local MAC address authentication on your AP using the CLI
on Access Point using Local List
username
username
aaa authentication login
interface Dot11Radio0
ssid
vlan
authentication open mac-address
If you want to remove a MAC address from the CLI you need to negate the command:
no username
If you were to use local authentication of MAC addresses and then fall back to a RADIUS sever if the MAC address wasn't available locallly you can use:
using Authentication Server if MAC address not found in Local List
username
username
aaa authentication login
aaa group server radius
server
radius-server host
interface Dot11Radio0
ssid
vlan
authentication open mac-address mac_methods
and similarly if you only want MAC address authentication to be provided via a RADIUS server you would use:
using Authentication Server only
aaa authentication login
interface Dot11Radio0
ssid
vlan
authentication open mac-address
aaa group server radius
server
radius-server host
HTH
Paddy
11-17-2004 03:30 AM
Great answer paddy, thanks. I'm going to try your list of commands right now. I never thought removing users by using the prefix "no".
11-17-2004 03:40 AM
No problem.
I have been making notes regarding MAC authentication as its useful to know how to configure from the CLI, i rarely use the GUI to be honest.
I've used all three of the CLI methods for MAC authentication on Aironet 350 and 1200's without any issues.
Thanks
Paddy
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