I have set the username **** privilege 5 secret **** & applied aaa via console. now unable to access switch through console. After entering enable showing authentication error.
can someone help me to resolve the issue.
Configuration:
config for console:
username cisco privilege 5 secret cisco
line vty 0 4 login local
end
config for aaa
aaa new-model
aaa authentication login default group tacacs+ local
aaa authentication enable default group tacacs+ enable
aaa authorization commands 1 default group tacacs+ local
aaa authorization commands 15 default group tacacs+ local
aaa accounting exec default start-stop group tacacs+
aaa accounting commands 1 default start-stop group tacacs+
aaa accounting commands 15 default start-stop group tacacs+
aaa accounting network default start-stop group tacacs+