华为 AP 3010 二层转发设置
配置小型网络WLAN基本业务示例组网需求
如图1所示,FAT AP通过有线方式接入Internet,通过无线方式连接STA终端。现某企业分支机构为了保证工作人员可以随时随地的访问公司网络,需要通过部署WLAN基本业务实现移动办公。
具体要求如下:
[*]提供名为“test”的无线网络。
[*]工作人员分配到的IP地址网段为192.168.11.0/24。
图1 配置小型网络WLAN基本业务组网图
配置思路
采用如下的思路配置小型网络的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。<Huawei> system-view sysname AP vlan batch 101 interface gigabitethernet 0/0/1 port link-type trunk port trunk allow-pass vlan101 quit
[*]配置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
[*]配置WLAN业务参数
# 创建名为“wmm”的WMM模板。 wlan wmm-profile name wmm quit# 创建名为“radio”的射频模板,绑定WMM模板“wmm”。 radio-profile name radio wmm-profile name wmm quit quit# 创建WLAN-BSS接口1。 interface wlan-bss 1 port hybrid pvid vlan 101 port hybrid untagged vlan 101 quit# 创建名为“security”的安全模板。 wlan security-profile name security security-policy wpa2 wpa2 authentication-method psk pass-phrase cipher 1234567a encryption-method ccmp quit# 创建名为“traffic”的流量模板。 traffic-profile name traffic quit# 创建名为“test”的服务集并绑定WLAN-BSS接口、安全模板和流量模板。 service-set name test ssid test wlan-bss 1 security-profile namesecurity traffic-profile nametraffic quit quit
[*]配置VAP
5. interfacewlan-radio 0/0/06. radio-profile name radio7.Warning: Modify the Radio type may cause someparameters of Radio resume defaul8. t value, are yousure to continue?:y9. service-set name test quit<AP>save
[*]验证配置结果
配置完成后,通过displayvap service-set name test命令,可以查看到VAP已创建成功。 display vap service-set name testAll VAPInformation(Total-1):SS:Service-set BP: Bridge-profile ----------------------------------------------------------------------Radio IDSS ID BP IDWLAN IDBSSID Type0 1 - 1 DCD2-FC21-5D40service ----------------------------------------------------------------------Total: 1STA搜索到名为“test”的无线网络并正常关联后,在AP上执行display station assoc-info interface wlan-radio0/0/0 service-set 1命令,可以查看到用户已经接入到无线网络“test”中。 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
页:
[1]