R3166-R3206-HP High-End Firewalls Access Control Command Reference-6PW101

53
key-string: Shared key for communication with the portal server, a case-sensitive string of 1 to 16
characters.
port-id: Destination port number used when the firewall sends a message to the portal server unsolicitedly,
in the range 1 to 65534. The default is 50100.
url-string: 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 need to use the portal free-rule
command to configure the IP address of the DNS server as a portal authentication-free IP address.
Description
Use the portal server command to configure a portal server.
Use the undo portal server command to remove a portal server, restore the default destination port
number or URL, or delete the shared key.
By default, no portal server is configured.
Using the undo portal server server-name command, you remove the specified portal server if the
specified portal server exists and there is no user on the interfaces referencing the portal server.
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 remove the portal configuration on the interface using the undo
portal command.
For local portal server configuration, the keywords key, port, and url are not required and, if configured,
will not take effect.
Related commands: display portal server.
Examples
# Configure portal server pts, setting the IP address to 192.168.0.111, the 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 portal url http://192.168.0.111/portal
portal server method
Syntax
portal server server-name method { direct | layer3 | redhcp }
undo portal
View
Interface view
Default level
2: System level
Parameters
server-name: Name of the portal server, a case-sensitive string of 1 to 32 characters.
method: Specifies the authentication mode to be used.
direct: Direct authentication.