03-13-2021 08:47 AM
Going through a recent config change I lost the ability to authenticate either via RADIUS/AD AND with local credentials. And this was the case whether access via an Avocent console server or ssh. I was locked out until I disabled some trunking assuring the 9k couldn't even try to reach the radius server and then local creds worked. What I'd like to do is remove authentication from the console serial port. If I authenticate to the Avocent then I have access to the console port. Can someone tell me how to exclude the console port from the overall security policy? This is clearer to me in IOS. Thank you.
Solved! Go to Solution.
03-13-2021 09:08 AM
M.
03-13-2021 09:24 AM
you can do an example as below - for the console, the rest all will be TACACS, then you also need to investigate what is wrong with Radius, do you have config fall back to local then it should not be an issue if the TACACS not reachable you can use a local account.
again it all your requirement.
username myuser password mypassword priv 15
aaa authentication login CONSOLE local
aaa authorization exec CONSOLE if-authenticated
!
line con 0
login authentication CONSOLE
03-13-2021 09:08 AM
M.
03-13-2021 09:24 AM
you can do an example as below - for the console, the rest all will be TACACS, then you also need to investigate what is wrong with Radius, do you have config fall back to local then it should not be an issue if the TACACS not reachable you can use a local account.
again it all your requirement.
username myuser password mypassword priv 15
aaa authentication login CONSOLE local
aaa authorization exec CONSOLE if-authenticated
!
line con 0
login authentication CONSOLE
06-04-2023 11:41 AM - edited 06-04-2023 11:47 AM
nexus 9k doesn't have the options listed
nexus9(config)# line console 0
% Invalid command at '^' marker
only line console (without 0), however after that for login are only *** No matching command found in current mode, matching in (config) mode ***
on-failure Set options for failed login attempt and on-success Set options for successful login attempt
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