aaa authentication doesn't work as should !!

zimskizzimskiz Member Posts: 98 ■■□□□□□□□□
Hello,

I've recently starting to read the CCNA Sec book, and i found a command that doesn't work as the book/google describe.

Here it is :

aaa authentication login default local enable

Bassicaly if we cannot find a username in local dabatase we should ask for the enable password, but in fact the router keeps telling me that he needs a username and a password for auth.

What is wrong ?

Comments

  • JobeneJobene Member Posts: 63 ■■■□□□□□□□
    Console port?

    Show us your lines ;)
  • zimskizzimskiz Member Posts: 98 ■■□□□□□□□□
    aaa new-model
    !
    !
    aaa authentication login default local enable
    !
    !
    username test privilege 15 secret 5 $1$2L0b$9oD9gxKewpz//./WyNNH81
    !
    line con 0
    exec-timeout 0 0
    privilege level 15
    logging synchronous
    stopbits 1
    line aux 0
    exec-timeout 0 0
    privilege level 15
    logging synchronous
    stopbits 1
    line vty 0 4


    I'm trying this using telnet to a router so vty lines.
  • RouteMyPacketRouteMyPacket Member Posts: 1,104
    zimskiz wrote: »
    aaa new-model
    !
    !
    aaa authentication login default local enable
    !
    !
    username test privilege 15 secret 5 $1$2L0b$9oD9gxKewpz//./WyNNH81
    !
    line con 0
    exec-timeout 0 0
    privilege level 15
    logging synchronous
    stopbits 1
    line aux 0
    exec-timeout 0 0
    privilege level 15
    logging synchronous
    stopbits 1
    line vty 0 4


    I'm trying this using telnet to a router so vty lines.

    Cisco IOS Security Configuration?Guide, Release?12.2 - Configuring Authentication [Cisco IOS Software Releases 12.2 Mainline] - Cisco

    Your vty line looks a little empty there
    Modularity and Design Simplicity:

    Think of the 2:00 a.m. test—if you were awakened in the
    middle of the night because of a network problem and had to figure out the
    traffic flows in your network while you were half asleep, could you do it?
Sign In or Register to comment.