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

Reminder

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

upgrade

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 redirect-http-port

portal redirect-http-port

Function

The portal redirect-http-port command configures a user-defined destination port number of HTTP packets that trigger Portal redirection.

The undo portal redirect-http-port command deletes a user-defined destination port number of HTTP packets that trigger Portal redirection.

By default, the device redirects users to the Portal authentication page only when their browsers send HTTP packets with the destination port number 80.

Format

portal redirect-http-port port-number

undo portal redirect-http-port [ port-number ]

Parameters

Parameter Description Value
port-number Specifies a user-defined destination port number of HTTP packets that trigger Portal redirection. The value is an integer that ranges from 1024 to 65535.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

By default, the device redirects users to the Portal authentication page only when their browsers send HTTP packets with the destination port number 80. If a user's browser has a web proxy server configured and the destination port number of HTTP packets is modified, the device discards HTTP packets from the user and does not redirect the user to the Portal authentication page. You can run the portal redirect-http-port command to configure a user-defined destination port number of HTTP packets that trigger Portal redirection. The device then redirects users to the Portal authentication page after receiving HTTP packets with the destination port number 80 or a user-defined destination port number.

Precautions

If a user's browser has a web proxy server configured, configure the Portal server address (configured on the device using the server-ip (Portal server profile view) command) as an exception address on the user's browser, to prevent HTTP packets to the Portal server from being sent to the web proxy server.

If the specified destination port number is 65535, some browsers consider this port as an insecure port, resulting a redirection failure.

Example

# Set the user-defined destination port number to 8080 for HTTP packets that trigger Portal redirection.

<Huawei> system-view
[Huawei] portal redirect-http-port 8080
Related Topics
Translation
Download
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 207453

Downloads: 122

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