
1-4
Parameters
None
Description
Use the
web-authentication enable
command to enable Web authentication globally.
Use the
undo web-authentication enable
command to disable Web authentication globally.
Web authentication cannot be enabled when one of the following features is enabled, and vice versa:
802.1x, MAC authentication, port security, port aggregation and IRF.
Examples
# Enable Web authentication globally.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] web-authentication web-server ip 192.168.0.56 port 80
[Sysname] web-authentication enable
web-authentication free-ip
Syntax
web-authentication free-ip
ip-address
{
mask-length
|
mask
}
undo web-authentication free-ip
{ ip-address {
mask-length
|
mask
}
|
all
}
View
System view
Parameters
ip-address
: IP address.
mask-length
: Mask length, ranging from 1 to 32.
mask
: Mask address.
Description
Use the
web-authentication free-ip
command to set a free IP address range, which can be accessed
by users before they pass Web authentication.
Use the
undo
web-authentication free-ip
command to remove the setting or all such settings.
By default, no free IP address range is set.