2078
C
135: P
HAPTER
ORTAL
portal server method
Syntax
View
Parameter
Description
Related command:
Example
reset portal connection statistics
Syntax
C
C
ONFIGURATION
OMMANDS
<Sysname> system-view
[Sysname] portal server pts ip 192.168.0.111 key portal url http://1
92.168.0.111/portal
portal server server-name method { direct | layer3 | redhcp } [ service-type
{ normal | plus } ]
undo portal
Interface view
server-name: Name of the portal server, a case-sensitive string of 1 to 32
characters.
Method: Specifies an authentication method.
direct: Direct authentication.
■
layer3: Layer 3 authentication
■
redhcp: Re-DHCP authentication.
■
service-type: Type of service. The default service type is normal.
Normal: Normal portal authentication.
■
Plus: Extended portal authentication.
■
Use the
portal server
interface, and specify the portal server to be referenced, authentication mode and
service type.
Use the
undo portal
By default, portal authentication is disabled.
Note that the specified portal server must exist.
display portal server.
# Enable portal authentication on interface Ethernet 1/0, specifying the portal
server as pts, setting the authentication mode to direct and the service type to
normal.
<Sysname> system-view
[Sysname] interface ethernet 1/0
[Sysname-Ethernet1/0] portal server pts method direct service-type normal
reset portal connection statistics { all | interface interface-type interface-number }
command to enable portal authentication on the
command to disable portal authentication on the interface.