136
Therefore, to make sure that the local portal server uses the user-defined default authentication pages,
you must edit and save them properly. Otherwise, the system default authentication pages are used.
Configuration procedure
To configure the local portal server:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Configure the protocol type
for the local portal server to
support and load the default
authentication page file.
portal local-server
{
http
|
https
server-policy
policy-name
}
By default, the local portal server
does not support any protocol.
3.
Configure the welcome
banner of the default
authentication pages of the
local portal server.
portal server banner
banner-string
Optional.
No welcome banner by default.
Enabling portal authentication
Only after you enable portal authentication on an access interface, can the access interface perform
portal authentication for connected clients.
Enabling Layer 2 portal authentication
Before enabling Layer 2 portal authentication, make sure that:
•
The listening IP address of the local portal server is specified.
•
Layer 3 portal authentication is not enabled on any interface.
Follow these guidelines when you enable Layer 2 portal authentication:
•
To ensure normal operation of portal authentication on a Layer 2 port, do not enable port security,
guest VLAN of 802.1X, or EAD fast deployment of 802.1X on the port.
•
To support assignment of authorized VLANs, you must enable the MAC-based VLAN function on
the port.
To enable Layer 2 portal authentication:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter Layer 2 Ethernet port
view.
interface
interface-type
interface-number
N/A
3.
Enable Layer 2 portal
authentication on the port.
portal local-server enable
Not enabled by default.
Enabling Layer 3 portal authentication
Before enabling Layer 3 portal authentication on an interface, make sure:
•
An IP address is configured for the interface.