华为 AP 3010 二层转发设置

您所在的位置:网站首页 华为ma5676设置上网 华为 AP 3010 二层转发设置

华为 AP 3010 二层转发设置

2023-04-07 16:28| 来源: 网络整理| 查看: 265

配置小型网络WLAN基本业务示例

组网需求

如图1所示,FAT AP通过有线方式接入Internet,通过无线方式连接STA终端。现某企业分支机构为了保证工作人员可以随时随地的访问公司网络,需要通过部署WLAN基本业务实现移动办公。

具体要求如下:

提供名为“test”的无线网络。    

工作人员分配到的IP地址网段为192.168.11.0/24。

图1 配置小型网络WLAN基本业务组网图 华为 AP 3010 二层转发设置_AP 3010

配置思路

采用如下的思路配置小型网络的WLAN基本业务:

配置AP和上层网络设备之间实现二层互通。    

在AP上配置基于接口的DHCP服务器为STA分配IP地址。    

配置AP的系统参数,包括国家码。    

配置VAP,实现STA访问WLAN网络功能。

配置AP对应的WMM模板、射频模板,使用WMM模板和射频模板的默认配置,并在射频模板下绑定WMM模板,实现STA与AP之间的无线通信参数配置。      

配置WLAN-BSS接口,实现报文到达AP后能够送至WLAN业务处理模块处理。

配置AP对应的安全模板、流量模板,使用安全模板和流量模板的缺省配置,配置服务集并在服务集下绑定WLAN-BSS接口、安全模板、流量模板,实现STA接入网络安全策略及QoS控制。

配置VAP并下发,实现STA能够通过WLAN网络访问Internet。

操作步骤

配置AP与上层网络设备互通

说明:

根据实际组网情况在AP上行口配置业务VLAN透传,和上行网络设备互通。

# 配置AP上行接口GE0/0/1加入VLAN101。

system-view

[Huawei] sysname AP

[AP] vlan batch 101

[AP] interface gigabitethernet 0/0/1

[AP-GigabitEthernet0/0/1] port link-type trunk

[AP-GigabitEthernet0/0/1] port trunk allow-pass vlan101

[AP-GigabitEthernet0/0/1] quit

配置AP的系统参数

# 配置AP的国家码。

[AP] wlan global country-code cn

 Warning: Modifythe country code may delete all vap and stations will offline,

are you sure to continue?[Y/N]:y

配置WLAN业务参数

# 创建名为“wmm”的WMM模板。

[AP] wlan

[AP-wlan-view] wmm-profile name wmm

[AP-wlan-wmm-prof-wmm] quit

# 创建名为“radio”的射频模板,绑定WMM模板“wmm”。

[AP-wlan-view] radio-profile name radio

[AP-wlan-radio-prof-radio] wmm-profile name wmm

[AP-wlan-radio-prof-radio] quit

[AP-wlan-view] quit

# 创建WLAN-BSS接口1。

[AP] interface wlan-bss 1

[AP-Wlan-Bss1] port hybrid pvid vlan 101

[AP-Wlan-Bss1] port hybrid untagged vlan 101

[AP-Wlan-Bss1] quit

# 创建名为“security”的安全模板。

[AP] wlan

[AC-wlan-view] security-profile name security[AC-wlan-sec-prof-security] security-policy wpa2[AC-wlan-sec-prof-security] wpa2 authentication-method psk pass-phrase cipher 1234567a encryption-method ccmp[AC-wlan-sec-prof-security] quit

# 创建名为“traffic”的流量模板。

[AP-wlan-view] traffic-profile name traffic

[AP-wlan-traffic-prof-traffic] quit

# 创建名为“test”的服务集并绑定WLAN-BSS接口、安全模板和流量模板。

[AP-wlan-view] service-set name test

[AP-wlan-service-set-test] ssid test

[AP-wlan-service-set-test] wlan-bss 1

[AP-wlan-service-set-test] security-profile namesecurity

[AP-wlan-service-set-test] traffic-profile nametraffic

[AP-wlan-service-set-test] quit

[AP-wlan-view] quit

配置VAP

5. [AP] interfacewlan-radio 0/0/0

6. [AP-Wlan-Radio0/0/0]radio-profile name radio

7.  Warning: Modify the Radio type may cause someparameters of Radio resume defaul

8. t value, are yousure to continue?[Y/N]:y

9. [AP-Wlan-Radio0/0/0]service-set name test

[AP-Wlan-Radio0/0/0] quit

save

验证配置结果

配置完成后,通过displayvap service-set name test命令,可以查看到VAP已创建成功。

[AP] display vap service-set name test

  All VAPInformation(Total-1):

  SS:Service-set     BP: Bridge-profile

 ----------------------------------------------------------------------

  Radio ID  SS ID BP ID  WLAN ID  BSSID           Type

  0         1     -      1        DCD2-FC21-5D40  service

 ----------------------------------------------------------------------

  Total: 1

STA搜索到名为“test”的无线网络并正常关联后,在AP上执行display station assoc-info interface wlan-radio0/0/0 service-set 1命令,可以查看到用户已经接入到无线网络“test”中。

[AP] display station assoc-info interfacewlan-radio0/0/0 service-set 1

  ------------------------------------------------------------------------------

  STA MAC          AP-ID   RADIO-ID SS-ID   SSID

 ------------------------------------------------------------------------------

 14cf-9208-9abf   0       0        1        test

 ------------------------------------------------------------------------------

  Total stations: 1



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3