Download Print this page

HP FlexNetwork MSR Series Command Reference Manual page 306

Comware 7 security
Hide thumbs Also See for FlexNetwork MSR Series:

Advertisement

Syntax
portal local-web-server { http | https [ ssl-server-policy policy-name ] }
undo portal local-web-server { http | https }
Default
No local portal Web servers exist.
Views
System view
Predefined user roles
network-admin
Parameters
http: Configures the local portal Web server to use HTTP to exchange authentication information
with clients.
https: Configures the local portal Web server to use 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. . If you do not specify this option, HTTPS is
associated with the SSL server policy that uses the self-signed certificate. That SSL server policy
supports all cipher suites.
Usage guidelines
After a local portal Web server is configured on the access device, 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 server, 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.
To specify a new SSL server policy for HTTPS, first execute the undo form of this command to delete
the existing local portal Web server.
Examples
# Configure a local portal Web server. Use HTTP to exchange authentication information with clients.
<Sysname> system-view
[Sysname] portal local-web-server http
[Sysname-portal-local-websvr-http] quit
# Configure a local portal Web server. Use HTTPS to exchange authentication information with
clients, and specify the SSL server policy policy1 for HTTPS.
<Sysname> system-view
[Sysname] portal local-web-server https ssl-server-policy policy1
[Sysname-portal-local-websvr-https] quit
# Change the SSL server policy to policy2.
[Sysname] undo portal local-web-server https
[Sysname] portal local-web-server https ssl-server-policy policy2
[Sysname-portal-local-websvr-https] quit
288

Advertisement

loading