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.
redhcp: Specifies re-DHCP authentication.
Description
Use the portal server method command to enable Layer 3 portal authentication on an interface, and
specify the portal server and the authentication mode to be used.
Use the undo portal command 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.
For the local portal server, the re-DHCP authentication mode can be configured but does not take effect.
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
portal server server-detect
Syntax
portal server server-name server-detect method { http | portal-heartbeat } * action { log | permit-all |
trap } * [ interval interval ] [ retry retries ]
undo portal server server-name server-detect
View
System 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. The
specified portal server must have existed.
server-detect method { http | portal-heartbeat }: Specifies the portal server detection method. Two
detection methods are available:
•
http: Probes HTTP connections. In this method, the access device periodically sends TCP connection
requests to the HTTP service port of the portal servers enabled on its interfaces. If the TCP
162