attempt-max-num

Configures the number of times a user can enter an invalid username and password; that is, the number of Web Authentication attempts during the specified cycle time.
Syntax
attempt-max-num number
no attempt-max-num number
Command Default

The default number of Web Authentication attempts allowed is five.

Parameters
number
Specifies the number of Web Authentication attempts. Valid values are from 0 through 64. If you configure 0, there is no limit on the number of attempts. The default is five attempts.
Modes

Web Authentication configuration mode

Usage Guidelines

You can set a limit on the number of times a user enters an invalid username and password during the specified cycle time. If the user exceeds the limit, the user is blocked for a duration of time, which is defined by the block duration command. Also, the Web browser will be redirected to the Exceeded Allowable Attempts web page.

The no form of the command sets the number of Web Authentication attempts to the default.

Examples

The following example limits the number of Web Authentication attempts to 10.

device(config)# vlan 10
device(config-vlan-10)# webauth
device(config-vlan-10-webauth)# attempt-max-num 10