06-05-2013 09:52 AM
Hi,
I have some 2960s and they work like a charm. I configured RADIUS access on them and had no problems with that.
Now I have two C300 (SG300-28) and I can't get them to work with my RADIUS server, I always get an "authentication failed".
Here are the commands on one of the boxes:
encrypted radius-server key <encrypted key>
radius-server host <radius host IP> auth-port 1645 acct-port 1646
aaa authentication enable SSH radius enable
aaa authentication login SSH radius local
Also, why is it presenting me the login twice when I connect via ssh (first with "login-as:" and no password and then with "User Name:" and with a password?!) ? At the first login I can type whatever I want and only the second login is the real one.
Greetings
Martin
Solved! Go to Solution.
01-06-2015 03:28 PM
Thank you, that worked like a charm. Now only get the Login as prompt and not the additional Username prompt.
Now I just need to get the Radius working properly. :)
01-06-2015 03:51 PM
Service-Type = Administrative-User, Cisco-AVPair = "shell:priv-lvl=15"
11-20-2016 10:13 PM
Thanks Michael Bruncko. Changing the service-type from "Login" to "Administrative" on my NPS Win 2012 R2 server fixed it.
Would never have gotten there without your post.
Cheers!
07-23-2021 04:49 AM
SG300 Switches doesn’t allow AAA authentication. Request your support.
Following are the commands used for the config.
· Radius-server host <IP> key <key>
· Aaa authentication login <SSH_list_name> radius local
· Aaa authentication login <Console_list_name> radius local
· Aaa authentication enable <SSH_list_name> radius
· Aaa authentication enable <Console_list_name> radius
· Line ssh
· Login authentication <SSH_list_name>
· Line console
· Login authentication <Console_list_name>
Note : Same config works fine in SG350 switches.
: SG300s are running on 1.4.11.5 (Boot Version: 1.3.5.06)
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