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).
port (Portal server profile view)

port (Portal server profile view)

Function

The port command sets the port number that a Portal server uses to receive notification packets from the device.

The undo port command restores the default port number.

By default, a Portal server uses port number 50100 to receive packets from the device.

Format

port port-number [ all ]

undo port [ all ]

Parameters

Parameter Description Value
port-number Specifies the port number that the Portal server uses to receive and encapsulate UDP packets from the device. The value is an integer that ranges from 1 to 65535. By default, the value is 50100.
all
Indicates that the device always uses the destination port number specified by port-number to encapsulate UDP packets.
NOTE:

After this keyword is specified, when receiving UDP packets from a Portal server, the device does not obtain the source port number in the UDP packets as the destination port number of UDP packets to be sent to the Portal server. If the value of port-number is different from the source port number of the Portal server, the Portal server cannot receive the UDP packets sent by the device. Therefore, this keyword is not recommended.

-

Views

Portal server profile view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

After creating a Portal server profile on the device using the web-auth-server (system view) command, configure parameters for the template.

Run the port command to set the port number that a Portal server uses to receive notification packets from the device. After receiving a Portal authentication request packet from a user, the device sends the packet to the Portal server using the specified destination port number.

Precautions

Ensure that the port number configured on the device is the same as that used by the Portal server.

Example

# Set the port number that a Portal server uses to receive packets from the device to 10000 in the Portal server profile huawei.

<Huawei> system-view
[Huawei] web-auth-server huawei
[Huawei-web-auth-server-huawei] port 10000
Translation
Download
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 202247

Downloads: 122

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