The portal local-server command enables the built-in Portal server function.
The undo portal local-server command disables the built-in Portal server function.
By default, the built-in Portal server function is disabled.
portal local-server https ssl-policy policy-name [ port port-num ]
undo portal local-server https
Parameter |
Description |
Value |
---|---|---|
https |
Configures the built-in Portal server to use HTTPS to exchange authentication information with users. |
- |
ssl-policy policy-name |
Specifies the SSL policy used by the built-in Portal server. NOTE:
policy-name indicates an existing SSL policy. |
The value of policy-name is a string of 1 to 23 case-sensitive characters without spaces. |
port port-num |
Specifies the TCP port number used by HTTPS. The default port number is used if the parameter is not specified. |
The value is an integer that ranges from 443 or 1025 to 55535. The default port number is 443. |
Usage Scenario
You can run the portal local-server enable command to enable the Portal authentication function on the interface only after the built-in Portal server function is enabled.
Prerequisites
The IP address for the built-in Portal server has been configured using the portal local-server ip command.
An SSL policy has been created using the ssl policy policy-name command in the system view and the digital certificate has been loaded using the certificate load command in the SSL policy view.
Apply to a trusted certificate authority for the certificate that needs to be loaded for the SSL policy.
Precautions