Need al little AAA authentication help....

I am trying to get my switch to authenticate against the local database upon login with ssh. SSH, the local database, and AAA are all setup :

username lovejoy privilege 15 secret 5 xxxxxxx

aaa new-model aaa authentication login default local aaa authentication enable default enable

line vty 0 4 access-class 10 in exec-timeout 9 0 transport input ssh line vty 5 15 access-class 10 in exec-timeout 9 0 transport input ssh

When I attempt ssh to the switch, it only asks me for a password, and not a login and password. I did enter in

login authentication default

on the vty lines, and it appears to accept it, but in the sh ru, it is not there. If I were to try

login authentication local

it says that there is no database called local, because I didn't name the database. The switch is a 2960G running 12.2(50)SE1.

Any suggestions or am I just missing the point entirely?

TIA Lovejoy

read more and respond »

Posted 5 years ago by Lovejoy in Cisco Systems

Report misuse

Image for Need al little AAA authentication help....