701
Default
No IP address or port number is specified for a Web authentication server.
Views
Web authentication server view
Predefined user roles
network-admin
mdc-admin
Parameters
ipv4-address
: Specifies the IPv4 address of the Web authentication server. This IP address is that of
a Layer 3 interface on the access device and must be routable to and from the Web authentication
user.
port
port-number
: Specifies the port number of the Web authentication server, in the range of 1 to
65535.
User guidelines
As a best practice, use the IP address of a loopback interface as the IP address of the Web
authentication server. A loopback interface has the following advantages:
•
The status of a loopback interface is stable. This can avoid authentication page access failures
caused by interface failures.
•
A loopback interface does not forward received packets. This can avoid impacting system
performance when there are many network access requests.
The port number of the Web authentication server must be the same as the listening port of the local
portal Web service. For more information about the local portal Web service configuration, see portal
authentication in
Security Configuration Guide
.
If you execute this command multiple times, the most recent configuration takes effect.
Examples
# Enter the view of Web authentication server
wbs
.
<Sysname> system-view
[Sysname] web-auth server wbs
# Specify 192.168.1.1 as the IP address and 8080 as the port number for Web authentication server
wbs
.
[Sysname-web-auth-server-wbs] ip 192.168.1.1 port 8080
Related commands
url
tcp-port
redirect-wait-time
Use
redirect-wait-time
to set the redirection wait time. After a user passes Web authentication, the
device waits for the specified period of time before redirecting the user to the specified webpage.
Use
undo redirect-wait-time
to restore the default.
Syntax
redirect-wait-time period
undo redirect-wait-time