R3303-HP HSR6800 Routers Security Command Reference

174
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,
server-type, 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 security purposes, all passwords, including passwords 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, t h e ke y t o portal in plain text, and
the redirection URL to http://192.168.0.113 / p o r t a l .
<Sysname> system-view
[Sysname] portal server pts ip 192.168.0.111 key simple portal url
http://192.168.0.113/portal
Related commands
display portal server
portal device-id
portal server method
Use portal server method to enable Layer 3 portal authentication on an interface, and specify the portal
server and the authentication mode to be used.
Use undo portal to disable Layer 3 portal authentication on an interface.
Syntax
portal server server-name method { direct | layer3 | redhcp }
undo portal
Default
Layer 3 portal authentication is disabled on an interface.
Views
Interface view