02-09-2008 03:14 PM - edited 03-03-2019 08:38 PM
dear all,
how we can login to the console without asking usrname & password when aaa new model is enabled
02-09-2008 04:22 PM
Try this:
aaa authentication login default none
This will log you in without any authentication....Good Luck..Pls rate...
02-10-2008 12:59 PM
aruldaspr
While the solution suggested by Phil will certainly let you login to the console without prompting for username and password, it will also do this for access to the router by telnet or SSH. If you are going to have no authentication then I question why to enable AAA at all.
I would suggest a different solution. Assuming that you want to use AAA to authenticate users by ID and password for telnet or SSH then you can set up a different authentication method for the console. Depending on what you want to do you could authenticate by the line password (which is what many people do) or you could not authenticate at all (which is the result of the suggestion made by Phil). The configuration might look something like this:
aaa authentication login console line
line con 0
login authentication console
HTH
Rick
02-11-2008 07:14 AM
hi Rick
thx for the reply,
this is my config ,in this RTR there is enable secret and a username &pswd is configured.when i am try to loging throug console it asking the username .
aaa authentication login default group radius local
aaa authentication enable default group radius enable
aaa authorization exec default group radius if-authenticated
aaa authorization network default group radius
aaa accounting exec default start-stop group radius
aaa accounting network default start-stop group radius
aaa accounting connection default start-stop group radius
aaa accounting system default start-stop group radius
my requirement is that ,i want to access RTR console without asking any username or password.
i add the folowing line to aaa list but it still asking the username
aaa authentication login CONSOLE none
line con 0
exec-timeout 0 0
login authentication CONSOLE
02-11-2008 07:58 AM
aruldaspr
I am surprised that adding these lines did not allow you to login directly to the console without prompt for name and password. I wonder if there is some mismatch in the name used in the aaa command and in the console command. Would you be able to post the show running-config from the router so that we can see if there is anything else affecting this?
HTH
Rick
02-13-2008 10:08 AM
If you have this command "aaa authentication enable default group radius enable "
By default username /password is prompted for console enable. you need to remove this and set aaa authorization previleges /exec commands explicity for just vty sessions.
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