Information
Limits the maximum number of times a local user can enter a wrong password before being locked out
Rationale:
Limiting the number of failed authentication attempts is a prevention and safeguard against brute force and dictionary attacks on systems. The implementation of the aaa local authentication max failed attempts helps to limit the number of consecutive failed login attempts when the AAA authentication scheme through the local database is used as method.
Solution
Run the following to configure the maximum number of consecutive local login failures to be less than or equal to 3
HOSTNAME(CONFIG)#AAA LOCAL AUTHENTICATION ATTEMPTS MAX-FAIL 3