132
Specifying a portal server for Layer 3 portal authentication
This task allows you to specify the portal server parameters for Layer 3 portal authentication, including
the portal server IP address, shared encryption key, server port, and the URL address for Web
authentication.
If the portal server is in an MPLS VPN, specify the VPN instance when specifying the portal server on the
device, so the device can send packets to the portal server.
To specify a portal server for Layer 3 authentication:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Specify a portal server and
configure related parameters.
portal server
server-name
{
ip
ipv4-address
[
key
[
cipher
|
simple
]
key-string
|
port
port-id
|
url
url-string
|
vpn-instance
vpn-instance-name
] * |
ipv6
ipv6-address
[
key
[
cipher
|
simple
]
key-string
|
port
port-id
|
url
url-string
] * }
By default, no portal server is
specified.
NOTE:
The specified parameters of a portal server can be modified or deleted only if the portal server is not
referenced on any interface.
Configuring the local portal server
Configuring a local portal server is required only for local portal authentication. During local portal
authentication, the local portal server pushes authentication pages to users. You can define the
authentication pages for users; otherwise, the default authentication pages will be used during the
authentication process.
Customizing authentication pages
Customized authentication pages exist in the form of HTML files. You can compress them and then save
them in the storage medium of the access device.
A set of authentication pages includes six main authentication pages and their page elements. The six
main authentication pages are the logon page, the logon success page, the logon failure page, the
online page, the system busy page, and the logoff success page. The page elements refer to the files that
the authentication pages reference, for example,
back.jpg
for page
Logon.htm
. Each main
authentication page can reference multiple page elements. If you define only some of the main
authentication pages, the system will use the default authentication pages for the undefined ones.
For the local portal server to operate normally and steadily, follow the following rules when customizing
authentication pages:
Rules on file names
The main authentication pages have predefined file names, which cannot be changed.