cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4622
Views
0
Helpful
5
Replies

Disable Console Login Prompt

roharris33
Level 1
Level 1

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

5 Replies 5

Seb Rupik
VIP Alumni
VIP Alumni

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.

That didn't work. I receive an authentication failed message.

 

 

 

Thanks,

Robin

Robin

 

The suggestion from Seb looks pretty good to me. Would you post your config?

 

HTH

 

Rick

HTH

Rick

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.

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

HTH

Rick