block

Configures the time users must wait before the next cycle of Web Authentication begins after they have exceeded the limit for Web Authentication attempts.
Syntax
block [ mac mac-address ] duration time
no block [ mac mac-address ] duration time
Command Default

The default is 90 seconds.

Parameters
mac mac-address
Configures the host with the specified MAC address to be temporarily or permanently blocked from attempting Web Authentication.
duration time
Configures the time duration users must wait before the next cycle of Web Authentication attempts is allowed. Valid values are from 0 through 128,000 seconds. The default is 90 seconds, and entering 0 means the user is infinitely blocked.
Modes

Web Authentication configuration mode

Usage Guidelines

To unblock the MAC address, wait until the block duration timer expires or enter the clear webauth vlan vlan-id block-mac command.

The no form of the command resets the duration time to the default.

Examples

The following example configures the block duration to 1000 seconds.

device(config)# vlan 10
device(config-vlan-10)# webauth
device(config-vlan-10-webauth)# block duration 1000

The following example configures the block duration for a specific host.

device(config)# vlan 10
device(config-vlan-10)# webauth
device(config-vlan-10-webauth)# block mac 1111.2222.3333 duration 1000