250 CHAPTER 8: AAA COMMANDS
set authentication
max-attempts
Specifies the maximum number of login attempts users can make before
being
locked out of the system.
Syntax — set authentication max-attempts number
number — Number of allowable login attempts for a user. You can
specify a
number between 0 – 2147483647. Specifying 0 causes
the numb
er of allowable login attempts to reset to the default values.
Defaults — For Telnet or SSH sessions, a maximum of 4 failed login
attempts are
allowed by default. For console or network sessions, an
unlimited number of failed login attempts are allowed by default.
Access — Enabled.
History — Introduced in MSS 6.0.
Usage — Use this command to specify the maximum number of failed
login
attempts allowed for a user. If the user is unable to log in within the
specified number of attempts, he or she is locked out of the system, and
the user’s access must be manually restored with the clear user lockout
command.
Examples — To allow users a maximum of 3 attempts to log into the
system, type
the following command:
WX# set authentication max-attempts 3
success: change accepted.
See Also
clear user lockout on page 226
set authentication minimum-password-length on page 251
set authentication password-restrict on page 252