cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
863
Views
5
Helpful
5
Replies

aaa new-model

aruldaspr
Level 1
Level 1

dear all,

how we can login to the console without asking usrname & password when aaa new model is enabled

5 Replies 5

pciaccio
Level 4
Level 4

Try this:

aaa authentication login default none

This will log you in without any authentication....Good Luck..Pls rate...

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

HTH

Rick

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

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

HTH

Rick

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.

Review Cisco Networking for a $25 gift card