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.


FATAP and Cloud AP V200R009C00 Web-based Configuration Guide

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).
Example for Configuring External Portal Authentication

Example for Configuring External Portal Authentication

Service Requirements

Because a WLAN is open to users, there are potential security risks. To enable users to easily associate with a WLAN, an AP uses the default security policy, that is, no authentication and no encryption. Portal authentication is configured on APs to centrally manage access users. Any user who accesses a WLAN is redirected to the Portal authentication web page. After entering the correct user name and password, the user is authenticated by the RADIUS server. The user can access the WLAN after the authentication succeeds.

Networking Requirements

  • DHCP deployment mode: The AP functions as a DHCP server to assign IP addresses to STAs.
Figure 2-6  Networking for configuring Portal authentication

Data Planning

Table 2-2  AP data planning
Item Data

Service VLAN for STAs

VLAN 101

DHCP server

The AP functions as a DHCP server to assign IP addresses to STAs.

IP address pool for STAs


Address that cannot be assigned: (IP address of the router)

SSID profile

  • Name: wlan-net

  • SSID name: wlan-net

Security profile

  • Name: wlan-net

  • Security policy: OPEN

Authentication profile

  • Name: wlan-net

  • Referenced profile: portal profile wlan-net, RADIUS Server profile wlan-net, authentication scheme wlan-net and authentication-free rule profile default_free_rule

VAP profile

  • Name: wlan-net

  • Service VLAN: VLAN 101

  • Referenced profile: SSID profile wlan-net and security profile wlan-net

STA's gateway


STA user name and password

  • User name: huawei
  • Password: huawei123

RADIUS server

  • Name: wlan-net
  • IP address:
  • Port number: 1812
  • Shared key: huawei123

Portal server

  • Server template: huawei
  • IP address:
  • URL:
  • Port number: 50100
  • Shared key: huawei123

Configuration Roadmap

The configuration roadmap is as follows:
  1. Use the WLAN configuration wizard to configure WLAN services. Configure Portal and RADIUS authentication and set parameters of the external Portal server and RADIUS server.
  2. Configure a DNS server address in the DHCP address pool of the service VLAN to provide the DNS service for the STA.
  3. Configure a static route so that the AP forwards the packet to the router after receiving the packet from the STA.
  4. Specify network resources accessible to authentication-free users.
  5. Connect STAs to the WLAN to verify the configuration.


  1. Configure the switches and router.

    # Add GE0/0/1 and GE0/0/3 on the aggregation switch to VLAN 101.

    # Assign an IP address to GE1/0/0 on Router and configure the router as the default gateway for the AP.

    # Configure a RADIUS server, configure a user name and password, and set the shared key to huawei123.

    # Configure a Portal server and set the port number and shared key to provide the web authentication page.

  2. Configure WLAN services.
    1. Choose Wizard > Config Wizard. The Configure Wi-Fi Signals page is displayed.
    2. Configure Wi-Fi signals.

      # Click Create. The Basic Information page is displayed.

      # Configure basic information about an SSID.

      # Click Next. The IP and Rate page is displayed.

      # Set IP address parameters.

      # Click Finish.

    3. Configure Internet connection parameters.

      # Click Next. The Configure Internet Connection page is displayed.

      # Add an interface to VLAN 101 in tagged mode.

      If you log in to the web platform using a PC whose Ethernet interface is being modified, do not delete the existing VLAN configuration on the interface to ensure that the PC can communicate with Fat APs. As shown in the following figure, GigabitEthernet0/0/0 is added to VLAN 1 by default and STAs communicate with the AP through this interface. You can use the default IP address of the AP to log in to the web platform. If you need to use the default IP address to log in to the web platform, do not delete VLAN 1.

      # Click Finish.

  3. Configure DNS.

    Configure the DNS server as required. The common methods are as follows:
    • In interface address pool scenarios, run the dhcp server dns-list ip-address &<1-8> command in the VLANIF interface view.
    • In global address pool scenarios, run the dns-list ip-address &<1-8> command in the IP address pool view.

    1. Choose Configuration > IP Service > DHCP > DHCP Address Pool. In Address Pool List, click Vlanif101. The Modify DHCP Address Pool page is displayed.
    2. Configure the DNS server address for the STA and click OK.

  4. Configure a static route.
    1. Choose Configuration > IP Service > Route. The Route page is displayed.
    2. Click Create in Static Route Configuration Table.

    3. Click OK.
  5. Configure network resources accessible to authentication-free users.

    1. Choose Configuration > WLAN Service > Profile.The Profile Management page is displayed.
    2. Choose Wireless Service > VAP Profile > wlan-net > Authentication Profile > Authentication-free Rule Profile. The Authentication-free Rule Profile page is displayed.
    3. Set Authentication-free Rule Profile to default_free_rule.
    4. Click Create. On the Create Authentication-free Rule page that is displayed, set Rule ID to 1 and the authentication-free resource to the IP address of the DNS server.

    5. Click OK.
    6. Select the authentication-free rule with the ID 1 and click Apply. In the dialog box that is displayed, click OK.

  6. Verify the configuration.
    1. The WLAN with the SSID wlan-net is available.
    2. The STA can associate with the WLAN and obtain an IP address 10.23.101.x/24 and its gateway address is

    3. Choose Monitoring > Terminal Manage > STA Management. In User, you can see that STAs go online properly and obtain IP addresses.
    4. When you open the browser on the STA, you are redirected to the Portal authentication page. After you enter the correct user name and password and are successfully authenticated, you can access the Internet.
Updated: 2019-04-18

Document ID: EDOC1100035626

Views: 11574

Downloads: 432

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