portal server method
Syntax
portal server server-name method { direct | layer3 }
undo portal [ server server-name ]
View
VLAN interface view
Default level
2: System level
Parameters
server-name: Specifies the name of a portal server, a case-sensitive string of 1 to 32 characters.
method: Specifies the authentication mode to be used.
direct: Specifies direct authentication.
layer3: Specifies cross-subnet 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.
You can enable both an IPv4 portal server and an IPv6 portal server for Layer 3 portal authentication on an interface, but you cannot enable two IPv4 or two IPv6 portal servers on the interface.
If you do not specify a portal server in the undo portal command, the command removes all Layer 3 portal configuration on the interface.
Related commands: display portal server.
Examples
# Enable Layer 3 portal authentication on interface VLAN-interface 100, referencing portal server pts and setting the authentication mode to direct.
<Sysname> system-view [Sysname] interface vlan-interface 100 [Sysname–Vlan-interface100] portal server pts method direct