cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
6671
Views
0
Helpful
3
Replies

Console Authentication Problem

wasiimcisco
Level 1
Level 1

HI, I have cisco 1841 Router configured for AAA authentication.

Everything is fine only problem with console authentication. I dont want to have AAA authentication console. I want to use local console password prompt when somone console the router. Below mention is my configuration but still it is asking for the username and password. I want only password prompt and password that I have configured on the line console. But It is not working for me. Please tell me what I am missing.

aaa authentication login default group tacacs+ local enable
aaa authentication login console none
aaa authentication login notacacs local
aaa authentication enable default group tacacs+ enable
aaa authorization exec default group tacacs+ local

line con 0
password cisco
login authentication notacacs

3 Replies 3

Erick Delgado
Level 1
Level 1

Hi.

Per security aaa will not allow you to use the line password.

Please add a local user and use that local user for authentication.

usernamer xxxx privilege 15 password xxxx.

Ad an user and authenticate with that one.

Regards,

Jagdeep Gambhir
Level 10
Level 10

Dear Wasim,

Please use this command and try,

aaa authentication login console line


Hope that helps!

Regards,

~JG

Do rate helpful posts

Ganesh Hariharan
VIP Alumni
VIP Alumni

Hi Wasim,

For aaa configuration in console check out the below configuration for console authentication

aaa authentication login CONSOLE line


There is only one authentication method (line).
Once a named list (in this example, CONSOLE) is created, it must be applied to a line or interface for it to come into effect. This is done using the

login authentication list_name command:
      line con 0
          exec-timeout 0 0
          password cisco
          login authentication CONSOLE

The CONSOLE list overrides the default method list default on line con 0.

Note: To have console access authenticated by a local username and password, use:

    aaa authentication login CONSOLE local

Note: In this case, a username and password have to be configured in the local database of the router. The list must also be applied to the line or interface.

Note: To have no authentication, use

    aaa authentication login CONSOLE none

Note: In this case, there is no authentication to get to the console access. The list must also be applied to the line or interface.

Hope that helps out your query !!

Regards

Ganesh.H

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: