R3721-F3210-F3171-HP High-End Firewalls Access Control Command Reference-6PW101

66
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 will restore 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.
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.
layer3: Cross-subnet authentication.
redhcp: Re-DHCP authentication.
Description
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.
By default, Layer 3 portal authentication is disabled on an interface.
The specified portal server must exist.
Related commands: display portal server.
Examples
# Enable Layer 3 portal authentication on interface GigabitEthernet 0/1, referencing portal server pts
and setting the authentication mode to direct.
<Sysname> system-view
[Sysname] interface gigabitethernet 0/1