03-16-2015 11:25 AM - edited 03-07-2019 11:07 PM
Can anyone help me how to configure enable password in stacked 2960 switches. We are using TACACS to log into the switch. Now we need to remove TACACS. I tried to configure enable password but it doesn't accept. Any solution please?
03-16-2015 06:36 PM
After removing TACACS configure the following command so you can get authenticated by local user name and password:
username test password 7 03410548045675F53180F
enable secret 5 $5$SNHC$avfOcVppGzAYliBMzbiz/.
line vty 0 4
login local
line vty 5 15
login local
HTH
03-17-2015 08:15 PM
I am using SSH to make change. It is in remote place. I can't go there. If I remove TACACs I lose connection to the router.
03-18-2015 06:54 AM
you can also just add a password under your vty's and also add the enable secret password . if you are concerned it wont work , use the reload in command where it will reload the box after so many minutes and load the old config if the new config doesn't work . If it works then just cancel the reload command . dont save the config until you are sure it works .
conf t
line vty 0 15
password xxxxxxxxx
exit
enable secret xxxxxxx
end
03-18-2015 09:13 AM
I have tried all these things. I have to remove TACACS configuration and use local authentication. But not successful.
Please see my configuration and suggest me. Thanks.
no username <username> secret 5 124567889shdgtuyt
!
!
no aaa new-model
!
!
no aaa authentication login TacacsFirst group tacacs+ local
no aaa authentication login uselocal local
no aaa authorization config-commands
no aaa authorization commands 1 default group tacacs+ none
no aaa authorization commands 15 default group tacacs+ none
no aaa accounting exec default start-stop group tacacs+
no aaa accounting commands 0 default start-stop group tacacs+
no aaa accounting commands 15 default start-stop group tacacs+
no aaa accounting network default start-stop group tacacs+
!
!
!
no aaa session-id common
!
tacacs-server host <IP Address> key 7 06523C6542183D2C551F03
tacacs-server directed-request
line con 0
session-timeout 15 output
password 7 070C28084D06485744
stopbits 1
line aux 0
password 7 121A0C5311045D5679
line 2
no activation-character
no exec
transport preferred none
transport output pad telnet rlogin lapb-ta mop udptn v120 ssh
stopbits 1
line vty 0 4
login
password 4premise
session-timeout 15 output
privilege level 15
logging synchronous
login authentication TacacsFirst
transport input ssh
line vty 5 15
login
password 4premise
session-timeout 15 output
privilege level 15
logging synchronous
login authentication TacacsFirst
transport input ssh
!
03-18-2015 10:37 AM
Try taking this out of the vty settings "login authentication TacacsFirst " . Not sure what that is doing but we have never used it . What are you seeing when you say it doesnt work ?
03-18-2015 12:42 PM
I did that too. It works with TACACS configuration. Once I delete TACACS configuration. Router prompt freezes and my user name password doesn't work.
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