< Home

portal web-authen-server

Function

The portal web-authen-server command enables the Portal interconnection function of the HTTP or HTTPS protocol.

The undo portal web-authen-server command disables the Portal interconnection function of the HTTP or HTTPS protocol.

By default, the Portal interconnection function of the HTTP or HTTPS protocol is disabled.

Format

portal web-authen-server { http | https ssl-policy policy-name } [ port port-number ]

undo portal web-authen-server [ port ]

Parameters

Parameter

Description

Value

http

Sets the HTTP protocol for Portal authentication.

NOTE:

The HTTP protocol poses security risks. The HTTPS protocol is recommended.

-

https

Sets the HTTPS protocol for Portal authentication.

-

ssl-policy policy-name

Specifies the name of an SSL policy.

The value must be the name of an existing SSL policy.

port port-number

Specifies a port number.

The value is an integer that ranges from 1025 to 55535.

The default HTTP port number is 8000 and the default HTTPS port number is 8443.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

If the device is connected to the Portal server that only supports the HTTP or HTTPS protocol, you need to run the portal web-authen-server command on the device to enable the Portal interconnection function of the HTTP or HTTPS protocol.

Follow-up Procedure

Run the protocol command to set the protocol used in Portal authentication to HTTP or HTTPS.

Precautions

Modifying the port parameter causes the pre-connected user to go offline.

Example

# Enable the Portal interconnection function of the HTTPS protocol.

<HUAWEI> system-view
[HUAWEI] ssl policy huawei 
[HUAWEI-ssl-policy-huawei] quit
[HUAWEI] portal web-authen-server https ssl-policy huawei port 8443
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >