281
Examples
# Configure an IPv4 portal authentication source subnet of
10.10.10.0
/
24
on VLAN-interface 2.
<Sysname> system-view
[Sysname] interface vlan-interface 2
[Sysname–Vlan-interface2] portal layer3 source 10.10.10.0 24
Related commands
display portal
portal free-all except destination
portal local-web-server
Use
portal local-web-server
to create an HTTP- or HTTPS-based local portal Web service and
enter its view, or enter the view of the existing HTTP- or HTTPS-based local portal Web service.
Use
undo portal local-web-server
to delete the HTTP- or HTTPS-based local portal Web service.
Syntax
portal local-web-server
{
http
|
https ssl-server-policy policy-name
[
tcp-port
port-number
]
}
undo portal local-web-server
{
http
|
https
}
Default
No local portal Web services exist.
Views
System view
Predefined user roles
network-admin
mdc-admin
Parameters
http
: Specifies the HTTP-based local portal Web service, which uses HTTP to exchange
authentication information with clients.
https
: Specifies the HTTPS-based local portal Web service, which uses HTTPS to exchange
authentication information with clients.
ssl-server-policy policy-name
: Specifies an existing SSL server policy for HTTPS. The policy name
is a case-insensitive string of 1 to 31 characters.
tcp-port
port-number
: Specifies the listening TCP port number for the HTTPS-based local portal
Web service. The value range for the
port-number
argument is 1 to 65535. The default port number
is 443.
Usage guidelines
In the local portal Web service, the access device also acts as the portal Web server and the portal
authentication server. No external portal Web server and portal authentication server are needed.
For an interface to use the local portal Web service, the URL of the portal Web server specified for
the interface must meet the following requirements:
•
The IP address in the URL must be a local IP address on the device.
•
The URL must be ended with
/portal/
. For example:
http://1.1.1.1/portal/
.
You cannot delete an SSL server policy by using the
undo ssl server-policy
command when the
policy is associated with HTTPS.
Содержание FlexNetwork 7500 Series
Страница 350: ...335 Related commands display port security port security enable ...
Страница 379: ...364 Sysname system view Sysname keychain abc mode absolute Sysname keychain abc tcp kind 252 ...
Страница 519: ...504 Related commands display ssh2 algorithm ssh2 algorithm cipher ssh2 algorithm key exchange ssh2 algorithm mac ...