No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


Fat AP and Cloud AP V200R010C00 Command Reference

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
portal https-redirect enable (Cloud AP)

portal https-redirect enable (Cloud AP)


The portal https-redirect enable command enables HTTPS redirection of Portal authentication.

The undo portal https-redirect enable command disables HTTPS redirection of Portal authentication.

By default, HTTPS redirection of Portal authentication is enabled.


portal https-redirect enable

undo portal https-redirect enable




System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Many well-known websites such as Google and Baidu use Hypertext Transfer Protocol Secure (HTTPS). When users visit these websites, it is required that users should be redirected to the Portal authentication page so that Portal authentication can be performed and the users can normally access the network. If unauthenticated Portal users visit websites using HTTPS after HTTPS redirection of Portal authentication is enabled, the device can redirect the users to the Portal authentication page.


  • If Portal authentication is triggered when a user visits a website using HTTPS, the browser displays a security prompt. The user needs to click Continue to complete Portal authentication.
  • Redirection cannot be performed for browsers or websites using HTTP Strict Transport Security (HSTS).
  • If the destination port in HTTPS request packets sent by users is an unknown port (443), redirection cannot be performed.
  • This function takes effect only for new Portal authentication users.
  • This function takes effect only after the Portal server template is created or the IP address of the built-in Portal server is configured.


# Enable HTTPS redirection of Portal authentication.

<Huawei> system-view
[Huawei] portal https-redirect enable
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 202967

Downloads: 122

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Previous Next