By default, no web proxy server port number is configured on the device and proxied HTTP requests
cannot trigger portal authentication.
Up to four web proxy server port numbers can be added.
If a user's browser uses the Web Proxy Auto-Discovery (WPAD) protocol to discover web proxy servers,
you must add the port numbers of the web proxy servers on the device, and configure portal-free rules to
allow user packets destined for the IP address of the WPAD server to pass without authentication.
For Layer 2 portal authentication, you must add the port numbers of the web proxy servers on the device,
and users must ensure that their browsers that use a web proxy server do not use the proxy server for the
listening IP address of the local portal server. Thus, HTTP packets that the portal user sends to the local
portal server are not sent to the web proxy server.
For Layer 3 portal authentication, note the following issues:
If the web proxy server port 80 is added on the device, clients that do not use a proxy server can
•
trigger portal authentication only when they access a reachable host enabled with the HTTP service.
Authorized ACLs to be assigned to the users who have passed portal authentication must contain a
•
rule that permits the web proxy server's IP address. Otherwise, the user cannot receive heartbeat
packets from the remote portal server.
Examples
# Add web proxy server port number 8080 on the device, so that users using a web proxy server with
the port number can be redirected to the portal authentication page.
<Sysname> system-view
[Sysname] portal web-proxy port 8080
reset portal connection statistics
Syntax
reset portal connection statistics { all | interface interface-type interface-number }
View
User view
Default level
1: Monitor level
Parameters
all: Specifies all interfaces.
interface interface-type interface-number: Specifies an interface by its type and number.
Description
Use the reset portal connection statistics command to clear portal connection statistics on a specified
interface or all interfaces.
Examples
# Clear portal connection statistics on interface VLAN-interface 1.
<Sysname> reset portal connection statistics interface vlan-interface 1
166