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 V200R008C00 CLI-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).
Configuration Examples for STA Blacklist and Whitelist

Configuration Examples for STA Blacklist and Whitelist

Example for Configuring the STA Blacklist and Whitelist

Service Requirements

As shown in Figure 25-31, a Fat AP is connected to the Internet in wired mode and connects to STAs in wireless mode. An enterprise branch needs to deploy basic WLAN services for mobile office so that enterprise employees can access the enterprise internal network anywhere, anytime.

For the WLAN access configuration, see Example for Configuring Fat AP Layer 2 Networking.

Figure 25-31  Networking diagram for configuring the STA blacklist and whitelist
Data planning
Item Data

VAP profile

  • Name: wlan-net

  • Referenced profiles: STA whitelist profile sta-whitelist

STA whitelist profile
  • Name: sta-whitelist
  • STAs added to the STA whitelist: STA1 (0011-2233-4455) and STA2 (0011-2233-4466)
STA blacklist profile
  • Name: sta-blacklist
  • STAs added to the STA blacklist: STA3 (0011-2233-4477) and STA4 (0011-2233-4488)
Configuration Roadmap

The configuration roadmap is as follows:

  1. Configure Router as a DHCP server to assign IP addresses to STAs from an IP address pool on an interface.
  2. Configure the AP's system parameters, including the country code.
  3. Configure a VAP so that STAs can access the WLAN.

Procedure

  1. Configure a STA whitelist in a VAP profile.

    # Create STA whitelist profile sta-whitelist and add MAC addresses of STA1 and STA2 to the whitelist.

    <Huawei> system-view
    [Huawei] sysname AP
    [AP] wlan
    [AP-wlan-view] sta-whitelist-profile name sta-whitelist
    [AP-wlan-whitelist-prof-sta-whitelist] sta-mac 0011-2233-4455
    [AP-wlan-whitelist-prof-sta-whitelist] sta-mac 0011-2233-4466
    [AP-wlan-whitelist-prof-sta-whitelist] quit

    # Create the VAP profile wlan-net and bind the STA whitelist profile to the VAP profile.

    [AP-wlan-view] vap-profile name wlan-net
    [AP-wlan-vap-prof-wlan-net] sta-access-mode whitelist sta-whitelist
    [AP-wlan-vap-prof-wlan-net] quit
    

  2. Configure a global STA blacklist.

    # Create STA blacklist profile sta-blacklist and add MAC addresses of STA3 and STA4 to the blacklist.

    [AP-wlan-view] sta-blacklist-profile name sta-blacklist
    [AP-wlan-blacklist-prof-sta-blacklist] sta-mac 0011-2233-4477
    [AP-wlan-blacklist-prof-sta-blacklist] sta-mac 0011-2233-4488
    [AP-wlan-blacklist-prof-sta-blacklist] quit
    [AP-wlan-view] sta-access-mode blacklist sta-blacklist
    [AP-wlan-view] quit
    

  3. Verify the configuration.

    STA1 and STA2 can connect to the WLAN. STA3 and STA4 cannot connect to the WLAN.

Configuration Files
  • AP configuration file

    #
     sysname AP
    #
    wlan
    sta-blacklist-profile name sta-blacklist
      sta-mac 0011-2233-4477
      sta-mac 0011-2233-4488
     sta-whitelist-profile name sta-whitelist
      sta-mac 0011-2233-4455
      sta-mac 0011-2233-4466
     sta-access-mode blacklist sta-blacklist  
     vap-profile name wlan-net
      sta-access-mode whitelist sta-whitelist 
    #
    return
Translation
Download
Updated: 2019-01-11

Document ID: EDOC1000176006

Views: 129020

Downloads: 311

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