269
Parameters
ipv6
: Specifies an IPv6 portal Web server. If the server is an IPv4 portal Web server, do not specify
this keyword.
secondary
: Specifies the backup portal Web server. If you do not specify this keyword, the specified
server is the primary portal Web server.
server-name
: Specifies a portal Web server to be specified on the interface by its name, a
case-sensitive string of 1 to 32 characters. The name must already exist. If you do not specify a
server name in the
undo
form of this command, all portal Web servers on the interface or service
template are removed.
Usage guidelines
IPv4 and IPv6 portal authentication can both be enabled on an interface. You can specify both a
primary portal Web server and a backup portal Web server after enabling each type (IPv4 or IPv6) of
portal authentication.
The device first uses the primary portal Web server for portal authentication. When the primary portal
Web server is unreachable but the backup portal Web server is reachable, the device uses the
backup portal Web server. When the primary portal Web server becomes reachable, the device
switches back to the primary portal Web server for portal authentication.
To automatically switch between the primary portal Web server and the backup portal Web server,
configure portal Web server detection on both servers.
Examples
# Specify portal Web server
wbs
as the backup portal Web server on GigabitEthernet 1/0/1 for portal
authentication. (Wired application).
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] portal apply web-server wbs secondary
# Specify portal Web server
wbs
as the backup portal Web server on service template
service1
for
portal authentication. (Wireless application.)
<Sysname> system-view
[Sysname] wlan service-template service1
[Sysname-wlan-st-service1] portal apply web-server wbs secondary
Related commands
display portal
portal fail-permit server
portal web-server
server-detect
(portal Web server view)
portal authorization strict-checking
Use
portal authorization strict-checking
to enable strict checking on portal authorization
information.
Use
undo
portal authorization strict-checking
to disable strict checking on portal authorization
information.
Syntax
portal authorization
{
acl
|
user-profile
}
strict-checking
undo portal authorization
{
acl
|
user-profile
}
strict-checking