166
Examples
# Configure portal server
pts
, setting the IP address to 192.168.0.111, the key to
portal
in plain text,
and the redirection URL to http://192.168.0.113/portal.
<Sysname> system-view
[Sysname] portal server pts ip 192.168.0.111 key simple portal url
http://192.168.0.113/portal
Related commands
•
display portal server
•
portal
device-id
portal server method
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.
Syntax
portal server
server-name
method
{
direct
|
layer3
|
redhcp
}
undo portal
Default
Layer 3 portal authentication is disabled on an interface.
Views
Interface view
Default command level
2: System level
Parameters
server-name
: Name of a 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.
Usage guidelines
The specified portal server must exist.
Examples
# Enable Layer 3 portal authentication on interface GigabitEthernet 3/0/1, referencing portal server
pts
and setting the authentication mode to
direct
.
<Sysname> system-view
[Sysname] interface gigabitethernet 3/0/1
[Sysname-GigabitEthernet3/0/1] portal server pts method direct
Related commands
display portal server