R2511-HP MSR Router Series Security Command Reference(V5)
381
simple: Sets a plaintext shared key.
key-string: Specifies the shared key. This argument is case sensitive. If simple is specified, it must be a
string of 1 to 16 characters. If cipher is specified, it must be a ciphertext string of 1 to 53 characters. If
neither simple nor cipher is specified, you set a plaintext shared key.
url url-string: Specifies the uniform resource locator (URL) to which HTTP packets are to be redirected. The
default URL is in the http://ip-address format, where ip-address is the IP address of the portal server. You
can also specify the domain name of the portal server, in which case you must use the portal free-rule
command to configure the IP address of the DNS server as a portal authentication-free destination IP
address.
vpn-instance vpn-instance-name: Specifies the MPLS L3VPN to which the portal server belongs.
vpn-instance-name is a case-sensitive string of 1 to 31 characters. If the portal server is on the public
network, do not specify this option.
Usage guidelines
If the specified portal server exists and no user is on the interfaces referencing the portal server, using the
undo portal server server-name command removes the specified portal server, and if keyword port or url
is also provided, the command restores the destination port number or URL address to the default.
The configured portal server and its parameters can be removed or modified only when the portal server
is not referenced by an interface. To remove or modify the settings of a portal server that has been
referenced by an interface, you must first remove the portal configuration on the interface by using the
undo portal command.
For local portal server configuration, the keywords key, port, 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 to the
configuration file.
Examples
# Configure portal server pts, setting the IP address to 192.168.0.111, the key to plaintext string of 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
Related commands
display portal server
portal server banner
Use portal server banner to configure the welcome banner of the default webpage provided by the local
portal server.
Use undo portal server banner to restore the default.
Syntax
portal server banner banner-string
undo portal server banner
Default
No webpage welcome banner is configured.










