aaa authentication rejected
To configure the login block per user, use the aaa authentication rejected command. To remove the login
block per user, use the no form of this command.
aaa authentication rejected attempts in seconds ban block-seconds
no aaa authentication rejected
Syntax Description
Number of login attempts fail before a user is blocked.
attempts
Time period within which the login attempt fails.
seconds
Time period in which the user is blocked after a failed
login attempt.
block-seconds
Command Default
None
Command Modes
Global configuration
Command History
ModificationRelease
This command was introduced.7.3(0)D1(1)
Usage Guidelines
This feature is applicable only for local users.
Examples
The following example shows how to configure the login parameters to block a user for 300 seconds when 5
login attempts fail within a period of 60 seconds.
switch# configure terminal
swtich(config)# aaa authentication rejected 5 in 60 ban 300
Related Commands
DescriptionCommand
Clears the blocked local user.clear aaa local user blocked
Displays the AAA authentication configuration.show aaa authentication
Displays the blocked local users.show aaa local user blocked
Cisco Nexus 7000 Series Security Command Reference    
35
A Commands
aaa authentication rejected