145
2.
Create a local portal Web
server and enter its view.
portal
local-web-server
{
http
|
https ssl-server-policy
policy-name [
tcp-port
port-number ] }
By default, no local portal Web
servers exist.
3.
Specify the default
authentication page file for
the local portal Web server.
default-logon-page
filename
authentication page file is
specified for the local portal Web
server.
4.
(Optional.) Configure the
listening TCP port for the
local portal Web server.
tcp-port
port-number
By default, the HTTP service
listening port number is 80 and the
HTTPS service listening port
number is the TCP port number
set by the
portal
command.
Displaying and maintaining portal
Execute display commands in any view and the reset command in user view.
Display portal rules on an interface.
display portal rule
{
all
|
dynamic
|
static
}
interface
interface-type interface-number [
slot
slot-id ]
Display portal configuration and portal running state
information on an interface.
display portal interface
interface-type
interface-number
Display portal authentication server information.
display portal server
[ server-name ]
Display portal Web server information.
display portal web-server
[ server-name ]
Display packet statistics f
servers.
display portal packet statistics
[
server
server-name ]
Display portal user information.
display portal user
{
all
|
interface
interface-type
interface-number }
Clear packet statistics for p
servers.
reset portal packet statistics
[
server
server-name ]
Portal configuration examples
Configuring direct portal authentication
Network requirements
As shown in Figure 42, the host is directly connected to the switch (the access device). The host is
assigned with a public IP address either manually or through DHCP. A portal server acts as both a
portal authentication server and a portal Web server. A RADIUS server acts as the
authentication/accounting server.
Configure direct portal authentication, so the host can access only the portal server before passing
the authentication and access other network resources after passing the authentication.