Use this topic to unlock a user account.
A user account is automatically locked by the system when the configured threshold for repeated failed login attempts has been reached. The account lockout threshold is a configurable parameter. Refer to Account lockout policy for more information.
Note
The username and no username commands are global configuration commands, but the unlock username command is a privileged EXEC command.device# show users **USER SESSIONS** Username Role Host IP Device Time Logged In jsmith user 192.0.2.0 Cli 2016-04-30 01:59:35 jdoe admin 192.0.2.1 Cli 2016-05-30 01:57:41 **LOCKED USERS** testUser
device# unlock username testUser Result: Unlocking the user account is successful
device# show users **USER SESSIONS** Username Role Host Ip Method Time Logged In TTY jsmith user 192.0.2.0 cli 2016-04-30 01:59:35 pts/2 jdoe admin 192.0.2.1 cli 2016-05-30 01:57:41 tty80 **LOCKED USERS** Username no locked users