cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1456
Views
0
Helpful
2
Replies

AAA Password Recovery

Tristan Apostol
Level 1
Level 1

Hi Guys,

someone config the AAA Authentication in cisco catalyst 2960 switch, unfortunately the IT who config the AAA forgot the username and password. can I recover the username password without reboot or shutdown the switch?

TristanApostol_0-1674008463928.png

 

2 Accepted Solutions

Accepted Solutions

if AAA configured to use external AAA server, you can reset password there. if its local, you can login to switch using console or any other admin account and do the reset. if this is the only local account and no any remote or other admin accounts, you need to do reset by restarting.

Please rate this and mark as solution/answer, if this resolved your issue
Good luck
KB

View solution in original post

Arne Bier
VIP
VIP

I don't quite understand what "forgot the username and password" means in this context. If AAA is configured correctly, then the AAA server will process the request - the issue is not with the switch. Change the password on the AAA or in AD (or whereever the username/password resides).

If there has been a mistake with the AAA configuration and this preventing AAA from working (and if AAA is so badly configured that even the local account is not allowed) then you can do one thing - go into the AAA server and untick the protocol that is used to manage that switch's device admin. e.g. if it's TACACS+, then untick the TACACS+ protocol. That would have the effect of forcing the switch to use the local admin credentials, giving you a chance to log back into the switch (assuming of course you have the correct local switch account details)

View solution in original post

2 Replies 2

if AAA configured to use external AAA server, you can reset password there. if its local, you can login to switch using console or any other admin account and do the reset. if this is the only local account and no any remote or other admin accounts, you need to do reset by restarting.

Please rate this and mark as solution/answer, if this resolved your issue
Good luck
KB

Arne Bier
VIP
VIP

I don't quite understand what "forgot the username and password" means in this context. If AAA is configured correctly, then the AAA server will process the request - the issue is not with the switch. Change the password on the AAA or in AD (or whereever the username/password resides).

If there has been a mistake with the AAA configuration and this preventing AAA from working (and if AAA is so badly configured that even the local account is not allowed) then you can do one thing - go into the AAA server and untick the protocol that is used to manage that switch's device admin. e.g. if it's TACACS+, then untick the TACACS+ protocol. That would have the effect of forcing the switch to use the local admin credentials, giving you a chance to log back into the switch (assuming of course you have the correct local switch account details)