03-09-2018 06:09 AM - edited 03-12-2019 05:06 AM
I have a Cisco 3650 running 16.3.5b Lan base. I want do disable the login but prompt for the enable password with connecting via the console cable. I am using AAA for ssh access. The "no login local" command isn't an option under line con 0.
aaa group server tacacs+ Clear_Pass
server XXX.XXX.XXX.XXX
server XXX.XXX.XXX.XXX
server-private XXX.XXX.XXX.XXX timeout 3 key 7 PASSWORD
ip vrf forwarding Mgmt-vrf
ip tacacs source-interface Loopback1
!
aaa authentication login default group tacacs+ local enable
aaa authorization exec default if-authenticated
aaa authorization network default if-authenticated
aaa accounting exec default start-stop group tacacs+
aaa accounting network default start-stop group tacacs+
username cisco privilege 15 password 7 CISCO
line con 0
stopbits 1
line aux 0
stopbits 1
line vty 0 4
privilege level 15
logging synchronous
transport input ssh
line vty 5 15
privilege level 15
logging synchronous
transport input ssh
03-09-2018 06:41 AM
Hi there,
I don't have anything to hand to test with, but the following should work:
! aaa authentication login ENABLE enable ! line con 0 login authentication ENABLE !
cheers,
Seb.
03-09-2018 06:49 AM - edited 03-09-2018 06:51 AM
That didn't work. I receive an authentication failed message.
Thanks,
Robin
03-10-2018 07:36 AM
Robin
The suggestion from Seb looks pretty good to me. Would you post your config?
HTH
Rick
03-12-2018 01:21 AM
Hi there,
I had to tweak it a little as IOS didn't like the AAA method name.
Try this:
! aaa authentication login AAA_ENABLE enable ! line con 0 login authentication AAA_ENABLE !
cheers,
Seb.
03-12-2018 09:37 AM
Seb
Good catch. I thought that your approach of specifying a different authentication method was the way to solve it. If IOS did not like your original name then that would explain why it did not work for the original poster. I hope that this time he is more successful.
HTH
Rick
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide