Unsolved

This post is more than 5 years old

1 Message

8843

July 16th, 2004 21:00

Can't Set Local Console Login

I need some suggestions on how to make sure the Console login requests a username and password.  Here is what I've done so far:



del start


reload


[select 4 for "password recovery" to remove any current password]


enable


config


username admin password xyzzy level 15


aaa auth log def local


aaa auth ena def ena


line console


login auth def


ena auth def


Believe it or not, this seemed to have worked one time but has never worked since (another 5 or more tries)!


I just want to force whoever is connecting to the console port to enter a username and password...


Any help would be appreciated


Scott

2 Intern

 • 

812 Posts

July 20th, 2004 11:00

The following commands would create authentication method lists called console_log and console_en and configure the switch to prompt for a username and password when trying to access the console port:

(config)# username admin password xyzzy level 15
(config)# enable password enablepass
(config)# aaa authentication login console_log local
(config)# aaa authentication enable console_en enable
(config)# line console
(config-line)# login authentication console_log
(config-line)# enable authentication console_en

When logging in, you would use the username admin with password xyzzy. If you login using a level 1 account or use the "disable"command, you would use the password enablepass to get to enable mode.

0 events found

No Events found!

Top