155
For local portal server configuration, the keywords
key
, and
url
are usually not required and, if
configured, does not take effect.
For security purposes, all keys, including keys configured in plain text, are saved in cipher text.
Related commands:
display portal server
.
Examples
# Configure portal server
pts
, setting the IP address to 192.168.0.111, the plaintext key to
portal
, and the
redirection URL to
http://192.168.0.111/portal
.
<Sysname> system-view
[Sysname] portal server pts ip 192.168.0.111 key simple portal url
http://192.168.0.111/portal
portal server banner
Syntax
portal server banner
banner-string
undo portal server banner
View
System view
Default level
2: System level
Parameters
banner-string
: Welcome banner for the Web page, a case-sensitive string of 1 to 50 characters. It cannot
contain the less-than sign (<) or the and sign (&). If multiple continuous spaces exist in the string, the
browser recognizes them as one.
Description
Use the
portal server banner
command to configure the welcome banner of the default Web page
provided by the local portal server.
Use the
undo portal server banner
command to restore the default.
By default, no Web page welcome banner is configured.
The configured welcome banner is applied to only the default authentication pages, rather than the
customized authentication pages.
Examples
# Configure the welcome banner of the default Web page provided by the local portal server as
Welcome to Portal Authentication
.
<Sysname> system-view
[Sysname] portal server banner Welcome to Portal Authentication
portal server method
Syntax
portal server
server-name
method
{
direct
|
layer3
}
undo portal
[
server
server-name
]