
143
Step Command
Remarks
3.
Enable portal authentication
on the interface.
•
To enable IPv4 portal
authentication:
portal enable method
{
direct
|
layer3
|
redhcp
}
•
To enable IPv6 portal
authentication:
portal ipv6
enable method
{
direct
|
layer3
}
Enable IPv4 portal
authentication, IPv6 portal
authentication, or both on the
interface.
Specifying a portal Web server on an interface
After you specify a portal Web server on an interface, the device redirects the HTTP requests of the
portal users on the interface to the portal Web server.
You can specify both an IPv4 portal Web server and an IPv6 portal Web server on an interface.
To specify a portal Web server for an interface:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter VLAN
interface view.
interface
interface-type
interface-number
The interface must be a Layer
3 interface.
3.
Specify a portal Web
server on the
interface.
•
To specify an IPv4 portal Web server:
portal apply web-server
server-name
[
fail-permit
]
•
To specify an IPv6 portal Web server:
portal ipv6 apply web-server
server-name
[
fail-permit
]
Specify an IPv4 portal Web
server, an IPv6 portal Web
server, or both on the
interface.
By default, no portal Web
servers are specified.
Controlling portal user access
Configuring a portal-free rule
A portal-free rule allows specified users to access specified external websites without portal
authentication.
The matching items for a portal-free rule include the source/destination IP address, TCP/UDP port
number, source MAC address, access interface, and VLAN. Packets matching a portal-free rule will
not trigger portal authentication, so users sending the packets can directly access the specified
external websites.
You cannot configure two or more portal-free rules with the same filtering criteria. Otherwise, the
system prompts that the rule already exists.
Regardless of whether portal authentication is enabled or not, you can only add or remove a
portal-free rule. You cannot modify it.
To configure an IP-based portal-free rule:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
Summary of Contents for 10500 series
Page 326: ...312 No duration limit for this SA ...