R2511-HP MSR Router Series Security Command Reference(V5)

371
Usage guidelines
When executing this command, the local portal server loads the default authentication page file, which
is supposed to be saved in the root directory of the device. To make sure the local portal server uses the
user-defined default authentication pages, edit and save them correctly before executing this command.
Otherwise, the system default authentication pages are used.
If you specify HTTP in this command, the redirection URL for HTTP packets is in the format of http://IP
address of the device/portal/logon.htm, and clients and the portal server exchange authentication
information through HTTP.
If an online portal user exists on the device, you cannot remove or change the configured protocol type,
or modify the SSL server policies referenced.
Examples
# Configure the local portal server to support HTTP.
<Sysname> system-view
[Sysname] portal local-server http
Related commands
display portal local-server
portal local-server bind
Use portal local-server bind to configure a binding between one or more SSIDs and an authentication
page file. According to the configuration, the local portal server pushes the authentication pages of the
specified file to the specified SSID clients.
Use undo portal local-server bind to cancel the binding between the customized page file and the
specified or all SSIDs.
Syntax
portal local-server bind ssid ssidname&<1-10> file filename
undo portal local-server bind { ssid ssidname&<1-10> | all }
Default
No binding is configured.
Views
System view
Default command level
2: System level
Parameters
ssid ssidname&<1-10>: Specifies the SSIDs to be bound. The ssidname argument indicates the identifier
of an SSID service template, a case-insensitive string of 1 to 32 characters. An SSID string can contain
letters, numerals, and spaces, but cannot include spaces at the beginning or end of the string and cannot
be f, fi, fil, or file. &<1-10> indicates that you can specify one to ten SSIDs.
file filename: Specifies the file to be bound. The filename argument indicates the name of a customized
authentication page file, excluding the path. filename is a string of 1 to 91 characters, and can contain
letters, numerals, and underscores. You can edit authentication page files and save them in the portal
directory under the root directory of the access device.