• 业务需求
• 组网需求
• 数据规划
• 配置思路
• 配置注意事项
• 操作步骤
• 配置文件
配置WLAN跨VLAN的三层漫游示例
组网图形
图1 配置WLAN跨VLAN的三层漫游示例组网图
• 业务需求
• 组网需求
• 数据规划
• 配置思路
• 配置注意事项
• 操作步骤
• 配置文件
业务需求
企业用户通过WLAN接入网络,以满足移动办公的最基本需求。为了区分部门进行管理,不同部门的员工在不同的子网。且在覆盖区域内移动发生漫游时,不影响用户的业务使用。
组网需求
• AC组网方式:旁挂三层组网。
• DHCP部署方式:
AC作为DHCP服务器为AP分配IP地址。
汇聚交换机SwitchB作为DHCP服务器为STA分配IP地址。
• 业务数据转发方式:直接转发。
数据规划
表1 AC数据规划表
配置项 数据
AP管理VLAN VLAN10、VLAN100
STA业务VLAN • area_1:VLAN101
• area_2:VLAN102
DHCP服务器 AC作为DHCP服务器为AP分配IP地址
汇聚交换机作为STA的DHCP服务器,STA的默认网关为10.23.101.2/24和10.23.102.2/24
AP的IP地址池 10.23.10.2~10.23.10.254/24
STA的IP地址池 • area_1:10.23.101.3~10.23.101.254/24
• area_2:10.23.102.3~10.23.102.254/24
AC的源接口IP地址 VLANIF100:10.23.100.1/24
AP组 • 名称:ap-group1
• 引用模板:VAP模板wlan-net1、域管理模板default、2G射频模板wlan-radio2g、5G射频模板wlan-radio5g
• 名称:ap-group2
• 引用模板:VAP模板wlan-net2、域管理模板default、2G射频模板wlan-radio2g、5G射频模板wlan-radio5g
域管理模板 • 名称:default
• 国家码:中国
• 调优信道集合:配置2.4G和5G调优带宽和调优信道
SSID模板 • 名称:wlan-net
• SSID名称:wlan-net
安全模板 • 名称:wlan-net
• 安全策略:WPA-WPA2+PSK+AES
• 密码:a1234567
VAP模板 • 名称:wlan-net1
• 转发模式:直接转发
• 业务VLAN:VLAN101
• 引用模板:SSID模板wlan-net、安全模板wlan-net
• 名称:wlan-net2
• 转发模式:直接转发
• 业务VLAN:VLAN102
• 引用模板:SSID模板wlan-net、安全模板wlan-net
空口扫描模板 • 名称:wlan-airscan
• 探测信道集合:调优信道
• 空口扫描间隔时间:60000毫秒
• 空口扫描持续时间:60毫秒
RRM模板 • 名称:wlan-rrm
• 信道自动调优:开启
• 功率自动调优:开启
2G射频模板 • 名称:wlan-radio2g
• 引用模板:空口扫描模板wlan-airscan、RRM模板wlan-rrm
5G射频模板 • 名称:wlan-radio5g
• 引用模板:空口扫描模板wlan-airscan、RRM模板wlan-rrm
配置思路
system-view
[HUAWEI] sysname SwitchA
[SwitchA] vlan batch 10 101 102
[SwitchA] interface gigabitethernet 0/0/1
[SwitchA-GigabitEthernet0/0/1] port link-type trunk
[SwitchA-GigabitEthernet0/0/1] port trunk pvid vlan 10
[SwitchA-GigabitEthernet0/0/1] port trunk allow-pass vlan 10 101
[SwitchA-GigabitEthernet0/0/1] port-isolate enable
[SwitchA-GigabitEthernet0/0/1] quit
[SwitchA] interface gigabitethernet 0/0/2
[SwitchA-GigabitEthernet0/0/2] port link-type trunk
[SwitchA-GigabitEthernet0/0/2] port trunk allow-pass vlan 10 101 102
[SwitchA-GigabitEthernet0/0/2] quit
[SwitchA] interface gigabitethernet 0/0/3
[SwitchA-GigabitEthernet0/0/3] port link-type trunk
[SwitchA-GigabitEthernet0/0/3] port trunk pvid vlan 10
[SwitchA-GigabitEthernet0/0/3] port trunk allow-pass vlan 10 102
[SwitchA-GigabitEthernet0/0/3] port-isolate enable
[SwitchA-GigabitEthernet0/0/3] quit
system-view
[HUAWEI] sysname SwitchB
[SwitchB] vlan batch 10 100 101 102
[SwitchB] interface gigabitethernet 0/0/1
[SwitchB-GigabitEthernet0/0/1] port link-type trunk
[SwitchB-GigabitEthernet0/0/1] port trunk allow-pass vlan 10 101 102
[SwitchB-GigabitEthernet0/0/1] quit
[SwitchB] interface gigabitethernet 0/0/2
[SwitchB-GigabitEthernet0/0/2] port link-type trunk
[SwitchB-GigabitEthernet0/0/2] port trunk allow-pass vlan 100
[SwitchB-GigabitEthernet0/0/2] quit
[SwitchB] interface gigabitethernet 0/0/3
[SwitchB-GigabitEthernet0/0/3] port link-type trunk
[SwitchB-GigabitEthernet0/0/3] port trunk allow-pass vlan 101 102
[SwitchB-GigabitEthernet0/0/3] quit
[SwitchB] interface vlanif 100
[SwitchB-Vlanif100] ip address 10.23.100.2 24
[SwitchB-Vlanif100] quit
system-view
[Huawei] sysname Router
[Router] vlan batch 101 102
[Router] interface gigabitethernet 1/0/0
[Router-GigabitEthernet1/0/0] port link-type trunk
[Router-GigabitEthernet1/0/0] port trunk allow-pass vlan 101 102
[Router-GigabitEthernet1/0/0] quit
[Router] interface vlanif 101
[Router-Vlanif101] ip address 10.23.101.2 24
[Router-Vlanif101] quit
[Router] interface vlanif 102
[Router-Vlanif102] ip address 10.23.102.2 24
[Router-Vlanif102] quit
2. 配置AC与其它网络设备互通
system-view
[AC6605] sysname AC
[AC] vlan 100
[AC-vlan100] quit
[AC] interface vlanif 100
[AC-Vlanif100] ip address 10.23.100.1 24
[AC-Vlanif100] quit
[AC] interface gigabitethernet 0/0/1
[AC-GigabitEthernet0/0/1] port link-type trunk
[AC-GigabitEthernet0/0/1] port trunk allow-pass vlan 100
[AC-GigabitEthernet0/0/1] quit
[AC] ip route-static 10.23.10.0 24 10.23.100.2
3. 配置DHCP服务器为STA和AP分配IP地址
[SwitchB] dhcp enable
[SwitchB] interface vlanif 10
[SwitchB-Vlanif10] ip address 10.23.10.1 24
[SwitchB-Vlanif10] dhcp select relay
[SwitchB-Vlanif10] dhcp relay server-ip 10.23.100.1
[SwitchB-Vlanif10] quit
说明:
DNS服务器地址请根据实际需要配置。常用配置方法如下:
• 接口地址池场景,需要在VLANIF接口视图下执行命令dhcp server dns-list ip-address &<1-8>。
• 全局地址池场景,需要在IP地址池视图下执行命令dns-list ip-address &<1-8>。
[SwitchB] interface vlanif 101
[SwitchB-Vlanif101] ip address 10.23.101.1 24
[SwitchB-Vlanif101] dhcp select interface
[SwitchB-Vlanif101] dhcp server gateway-list 10.23.101.2
[SwitchB-Vlanif101] quit
[SwitchB] interface vlanif 102
[SwitchB-Vlanif102] ip address 10.23.102.1 24
[SwitchB-Vlanif102] dhcp select interface
[SwitchB-Vlanif102] dhcp server gateway-list 10.23.102.2
[SwitchB-Vlanif102] quit
[AC] dhcp enable
[AC] ip pool huawei
[AC-ip-pool-huawei] network 10.23.10.0 mask 24
[AC-ip-pool-huawei] gateway-list 10.23.10.1
[AC-ip-pool-huawei] option 43 sub-option 3 ascii 10.23.100.1
[AC-ip-pool-huawei] quit
[AC] interface vlanif 100
[AC-Vlanif100] dhcp select global
[AC-Vlanif100] quit
4. 配置AP上线
[AC] wlan
[AC-wlan-view] ap-group name ap-group1
[AC-wlan-ap-group-ap-group1] quit
[AC-wlan-view] ap-group name ap-group2
[AC-wlan-ap-group-ap-group2] quit
[AC-wlan-view] regulatory-domain-profile name default
[AC-wlan-regulate-domain-default] country-code cn
[AC-wlan-regulate-domain-default] quit
[AC-wlan-view] ap-group name ap-group1
[AC-wlan-ap-group-ap-group1] regulatory-domain-profile default
Warning: Modifying the country code will clear channel, power and antenna gain configurations of the radio and reset the AP. Continu
e?[Y/N]:y
[AC-wlan-ap-group-ap-group1] quit
[AC-wlan-view] ap-group name ap-group2
[AC-wlan-ap-group-ap-group2] regulatory-domain-profile default
Warning: Modifying the country code will clear channel, power and antenna gain configurations of the radio and reset the AP. Continu
e?[Y/N]:y
[AC-wlan-ap-group-ap-group2] quit
[AC-wlan-view] quit
[AC] capwap source interface vlanif 100
说明:
ap auth-mode命令缺省情况下为MAC认证,如果之前没有修改其缺省配置,可以不用执行ap auth-mode mac-auth。
举例中使用的AP为AP5030DN,具有射频0和射频1两个射频。AP5030DN的射频0为2.4GHz射频,射频1为5GHz射频。
[AC-wlan-view] ap-id 0 ap-mac 60de-4476-e360
[AC-wlan-ap-0] ap-name area_1
Warning: This operation may cause AP reset. Continue? [Y/N]y
[AC-wlan-ap-0] ap-group ap-group1
Warning: This operation may cause AP reset. If the country code changes, it will clear channel, power and antenna gain configuration
s of the radio, Whether to continue? [Y/N]:y
[AC-wlan-ap-0] quit
[AC-wlan-view] ap-id 1 ap-mac dcd2-fc04-b500
[AC-wlan-ap-1] ap-name area_2
Warning: This operation may cause AP reset. Continue? [Y/N]y
[AC-wlan-ap-1] ap-group ap-group2
Warning: This operation may cause AP reset. If the country code changes, it will clear channel, power and antenna gain configuration
s of the radio, Whether to continue? [Y/N]:y
[AC-wlan-ap-1] quit
0 60de-4476-e360 area_1 ap-group1 10.23.10.254 AP5030DN nor 0 15S
1 dcd2-fc04-b500 area_2 ap-group2 10.23.10.253 AP5030DN nor 0 10S
----------------------------------------------------------------------------Total: 2
5. 配置WLAN业务参数
说明:
举例中以配置WPA-WPA2+PSK+AES的安全策略为例,密码为“a1234567”,实际配置中请根据实际情况,配置符合实际要求的安全策略。
[AC-wlan-view] security-profile name wlan-net
[AC-wlan-sec-prof-wlan-net] security wpa-wpa2 psk pass-phrase a1234567 aes
[AC-wlan-sec-prof-wlan-net] quit
[AC-wlan-view] ssid-profile name wlan-net
[AC-wlan-ssid-prof-wlan-net] ssid wlan-net
[AC-wlan-ssid-prof-wlan-net] quit
[AC-wlan-view] vap-profile name wlan-net1
[AC-wlan-vap-prof-wlan-net1] service-vlan vlan-id 101
[AC-wlan-vap-prof-wlan-net1] security-profile wlan-net
[AC-wlan-vap-prof-wlan-net1] ssid-profile wlan-net
[AC-wlan-vap-prof-wlan-net1] quit
[AC-wlan-view] vap-profile name wlan-net2
[AC-wlan-vap-prof-wlan-net2] service-vlan vlan-id 102
[AC-wlan-vap-prof-wlan-net2] security-profile wlan-net
[AC-wlan-vap-prof-wlan-net2] ssid-profile wlan-net
[AC-wlan-vap-prof-wlan-net2] quit
[AC-wlan-view] ap-group name ap-group1
[AC-wlan-ap-group-ap-group1] vap-profile wlan-net1 wlan 1 radio 0
[AC-wlan-ap-group-ap-group1] vap-profile wlan-net1 wlan 1 radio 1
[AC-wlan-ap-group-ap-group1] quit
[AC-wlan-view] ap-group name ap-group2
[AC-wlan-ap-group-ap-group2] vap-profile wlan-net2 wlan 1 radio 0
[AC-wlan-ap-group-ap-group2] vap-profile wlan-net2 wlan 1 radio 1
[AC-wlan-ap-group-ap-group2] quit
6. 开启射频调优功能自动选择AP最佳信道和功率
[AC-wlan-view] rrm-profile name wlan-rrm
[AC-wlan-rrm-prof-wlan-rrm] undo calibrate auto-channel-select disable
[AC-wlan-rrm-prof-wlan-rrm] undo calibrate auto-txpower-select disable
[AC-wlan-rrm-prof-wlan-rrm] quit
[AC-wlan-view] regulatory-domain-profile name default
[AC-wlan-regulate-domain-default] dca-channel 2.4g channel-set 1,6,11
[AC-wlan-regulate-domain-default] dca-channel 5g bandwidth 20mhz
[AC-wlan-regulate-domain-default] dca-channel 5g channel-set 149,153,157,161
[AC-wlan-regulate-domain-default] quit
[AC-wlan-view] air-scan-profile name wlan-airscan
[AC-wlan-air-scan-prof-wlan-airscan] scan-channel-set dca-channel
[AC-wlan-air-scan-prof-wlan-airscan] scan-period 60
[AC-wlan-air-scan-prof-wlan-airscan] scan-interval 60000
[AC-wlan-air-scan-prof-wlan-airscan] quit
[AC-wlan-view] radio-2g-profile name wlan-radio2g
[AC-wlan-radio-2g-prof-wlan-radio2g] rrm-profile wlan-rrm
[AC-wlan-radio-2g-prof-wlan-radio2g] air-scan-profile wlan-airscan
[AC-wlan-radio-2g-prof-wlan-radio2g] quit
[AC-wlan-view] radio-5g-profile name wlan-radio5g
[AC-wlan-radio-5g-prof-wlan-radio5g] rrm-profile wlan-rrm
[AC-wlan-radio-5g-prof-wlan-radio5g] air-scan-profile wlan-airscan
[AC-wlan-radio-5g-prof-wlan-radio5g] quit
[AC-wlan-view] ap-group name ap-group1
[AC-wlan-ap-group-ap-group1] radio-5g-profile wlan-radio5g radio 1
Warning: This action may cause service interruption. Continue?[Y/N]y
[AC-wlan-ap-group-ap-group1] radio-2g-profile wlan-radio2g radio 0
Warning: This action may cause service interruption. Continue?[Y/N]y
[AC-wlan-ap-group-ap-group1] quit
[AC-wlan-view] ap-group name ap-group2
[AC-wlan-ap-group-ap-group2] radio-5g-profile wlan-radio5g radio 1
Warning: This action may cause service interruption. Continue?[Y/N]y
[AC-wlan-ap-group-ap-group2] radio-2g-profile wlan-radio2g radio 0
Warning: This action may cause service interruption. Continue?[Y/N]y
[AC-wlan-ap-group-ap-group2] quit
[AC-wlan-view] calibrate enable manual
[AC-wlan-view] calibrate manual startup
Number: 1
配置文件
• SwitchA的配置文件
• #
• sysname SwitchA
• #
• vlan batch 10 101 to 102
• #
• interface GigabitEthernet0/0/1
• port link-type trunk
• port trunk pvid vlan 10
• port trunk allow-pass vlan 10 101
• port-isolate enable
• #
• interface GigabitEthernet0/0/2
• port link-type trunk
• port trunk allow-pass vlan 10 101 to 102
• #
• interface GigabitEthernet0/0/3
• port link-type trunk
• port trunk pvid vlan 10
• port trunk allow-pass vlan 10 102
• port-isolate enable
• #
• return
• SwitchB的配置文件
• #
• sysname SwitchB
• #
• vlan batch 10 100 to 102
• #
• dhcp enable
• #
• interface Vlanif10
• ip address 10.23.10.1 255.255.255.0
• dhcp select relay
• dhcp relay server-ip 10.23.100.1
• #
• interface Vlanif100
• ip address 10.23.100.2 255.255.255.0
• #
• interface Vlanif101
• ip address 10.23.101.1 255.255.255.0
• dhcp select interface
• dhcp server gateway-list 10.23.101.2
• #
• interface Vlanif102
• ip address 10.23.102.1 255.255.255.0
• dhcp select interface
• dhcp server gateway-list 10.23.102.2
• #
• interface GigabitEthernet0/0/1
• port link-type trunk
• port trunk allow-pass vlan 10 101 to 102
• #
• interface GigabitEthernet0/0/2
• port link-type trunk
• port trunk allow-pass vlan 100
• #
• interface GigabitEthernet0/0/3
• port link-type trunk
• port trunk allow-pass vlan 101 to 102
• #
return
• Router的配置文件
• #
• sysname Router
• #
• vlan batch 101 to 102
• #
• interface Vlanif101
• ip address 10.23.101.2 255.255.255.0
• #
• interface Vlanif102
• ip address 10.23.102.2 255.255.255.0
• #
• interface GigabitEthernet1/0/0
• port link-type trunk
• port trunk allow-pass vlan 101 to 102
• #
• return
• AC的配置文件
• #
• sysname AC
• #
• vlan batch 100 to 102
• #
• dhcp enable
• #
• ip pool huawei
• gateway-list 10.23.10.1
• network 10.23.10.0 mask 255.255.255.0
• option 43 sub-option 3 ascii 10.23.100.1
• #
• interface Vlanif100
• ip address 10.23.100.1 255.255.255.0
• #
• interface GigabitEthernet0/0/1
• port link-type trunk
• port trunk allow-pass vlan 100
• #
• ip route-static 10.23.10.0 24 10.23.100.2
• #
• capwap source interface vlanif100
• #
• wlan
• calibrate enable schedule time 03:00:00
• security-profile name wlan-net
• security wpa2 psk pass-phrase %%#]:krYrz_r
• ssid-profile name wlan-net
• ssid wlan-net
• vap-profile name wlan-net1
• service-vlan vlan-id 101
• ssid-profile wlan-net
• security-profile wlan-net
• vap-profile name wlan-net2
• service-vlan vlan-id 102
• ssid-profile wlan-net
• security-profile wlan-net
• regulatory-domain-profile name default
• dca-channel 5g channel-set 149,153,157,161
• air-scan-profile name wlan-airscan
• scan-channel-set dca-channel
• rrm-profile name wlan-rrm
• radio-2g-profile name wlan-radio2g
• rrm-profile wlan-rrm
• air-scan-profile wlan-airscan
• radio-5g-profile name wlan-radio5g
• rrm-profile wlan-rrm
• air-scan-profile wlan-airscan
• ap-group name ap-group1
• radio 0
• radio-2g-profile wlan-radio2g
• vap-profile wlan-net wlan 1
• radio 1
• radio-5g-profile wlan-radio5g
• vap-profile wlan-net wlan 1
• ap-group name ap-group2
• radio 0
• radio-2g-profile wlan-radio2g
• vap-profile wlan-net wlan 1
• radio 1
• radio-5g-profile wlan-radio5g
• vap-profile wlan-net wlan 1
• ap-id 0 type-id 35 ap-mac 60de-4476-e360 ap-sn 210235554710CB000042
• ap-name area_1
• ap-group ap-group1
• ap-id 1 type-id 35 ap-mac dcd2-fc04-b500 ap-sn 210235554710CB000078
• ap-name area_2
• ap-group ap-group2
• #
return
#各种情况的案例
!Software Version V200R001C00SPC100
sysname AC1
FTP server enable
vlan batch 10 to 13 801
undo http server enable
wlan ac-global carrier id other ac id 0
qos-prof-guest1
car inbound cir 256 pir 256 cbs 32000 pbs 32000
car outbound cir 512 pir 512 cbs 64000 pbs 64000
qos-profile name qos-prof-employee1
car inbound cir 1024 pir 1024 cbs 128000 pbs 128000
car outbound cir 2048 pir 2048 cbs 256000 pbs 256000
qos-profile name qos-prof-admin1
car inbound cir 2048 pir 2048 cbs 256000 pbs 256000
car outbound cir 2048 pir 2048 cbs 256000 pbs 256000
dba-profile default0 type3 assure 40000 max 80000
dhcp enable
diffserv domain default
#AAA服务器配置,用来做第三方认证
radius-server template radius_huawei
radius-server authentication 10.254.1.100 1812
radius-attribute check Filter-Id
#用户组授权管理配置ACL,定义用户权限
time-range workday 08:30 to 18:00 working-day
acl number 3001
description “acl used for guest access control”
rule 5 deny udp destination-port eq bootpc
rule 10 permit udp destination-port eq bootps
rule 15 deny ip destination 10.0.0.0 0.255.255.255
rule 20 deny ip destination 172.16.0.0 0.15.255.255
rule 25 deny ip destination 192.168.0.0 0.0.255.255
rule 30 permit udp destination-port eq dns
rule 35 permit tcp destination-port eq www
rule 40 permit tcp destination-port eq 443
rule 45 permit tcp destination-port eq smtp
rule 50 permit tcp destination-port eq pop3
rule 55 deny
acl number 3002
description “this acl used for employee access control”
rule 5 deny udp destination-port eq bootpc
rule 10 deny tcp destination-port eq ftp
rule 15 deny tcp destination-port eq telnet
rule 20 permit ip source 10.1.10.0 0.0.0.255 time-range workday
rule 25 permit ip source 10.1.11.0 0.0.0.255 time-range workday
rule 30 deny
acl number 3003
description “this acl used for admin access control”
rule 5 deny udp destination-port eq bootpc
rule 15 permit ip destination 10.0.0.0 0.255.255.255
rule 20 permit ip destination 172.16.0.0 0.15.255.255
rule 25 permit ip destination 192.168.0.0 0.0.255.255
rule 30 deny
#使用DHCP及option 43 为AP分配置地址并指定AC位置
ip pool vlan10
gateway-list 10.1.10.1
network 10.1.10.0 mask 255.255.255.0
excluded-ip-address 10.1.10.2 10.1.10.127
dns-list 10.254.1.100 8.8.8.8
option 43 sub-option 3 ascii 10.1.201.100
aaa
authentication-scheme default
authentication-scheme radius_huawei
authentication-mode radius
authorization-scheme default
accounting-scheme default
domain default
authentication-scheme radius_huawei
radius-server radius_huawei
domain default_admin
local-user ftp password simple ftp
local-user ftp privilege level 15
local-user ftp ftp-directory flash:/
local-user ftp service-type ftp
local-user admin password simple admin
local-user admin service-type http
#基础配置
interface Vlanif10
ip address 10.1.10.100 255.255.255.0
dhcp select global
interface Vlanif11
ip address 10.1.11.100 255.255.255.0
interface Vlanif12
ip address 10.1.12.100 255.255.255.0
#创建访客网关
interface Vlanif13
ip address 172.16.1.1 255.255.255.0
dhcp select interface
dhcp server excluded-ip-address 172.16.1.2 172.16.1.127
dhcp server dns-list 10.254.1.100 8.8.8.8
#AC的WLAN源地址
interface Vlanif801
ip address 10.1.201.100 255.255.255.0
interface Ethernet0/0/0
ip address 192.168.100.200 255.255.255.0
interface XGigabitEthernet0/0/1
port link-type trunk
port trunk allow-pass vlan 10 to 13 801
#无线WLAN-ess接口属性配置,ess2和ess3上配置有三层漫游能力
interface Wlan-Ess0
port hybrid pvid vlan 13
port hybrid untagged vlan 13
dhcp enable
interface Wlan-Ess1
port hybrid pvid vlan 12
port hybrid untagged vlan 12
dhcp enable
interface Wlan-Ess2
port hybrid pvid vlan 11
port hybrid untagged vlan 10 to 11
dot1x-authentication enable
dot1x authentication-method eap
dhcp enable
interface Wlan-Ess3
port hybrid pvid vlan 10
port hybrid untagged vlan 10 to 11
dot1x-authentication enable
dot1x authentication-method eap
dhcp enable
interface NULL0
#静态路由配置
ip route-static 0.0.0.0 0.0.0.0 10.1.201.1
#SNMP及telnet网管参数配置
snmp-agent
snmp-agent local-engineid 000007DB7FFFFFFF00006880
snmp-agent community read publicro
snmp-agent community write privaterw
snmp-agent sys-info version v2c v3
snmp-agent trap enable basetrap
user-interface con 0
user-interface vty 0 4
user privilege level 15
set authentication password simple huawei
user-interface vty 16 20
wlan
wlan ac source interface vlanif801
wlan ap lldp enable
AP域、AP认证、5G优先配置
ap-region id 101
ap-region-name floor1
deploy-mode densely-deploy
ap id 0 type-id 19 mac cccc-8110-2260 sn 210235448310C9000012
region-id 101
access priority 5g
ap id 1 type-id 19 mac cccc-8110-2280 sn 210235448310C9000013
region-id 101
access priority 5g
WMM(无线多媒体)模板配置
wmm-profile name wmm-prof-1 id 0
流量模板配置
traffic-profile name traffic-prof-1 id 0
安全模板配置
security-profile name security-prof-open1 id 0
security-profile name security-prof-wpapsk1 id 2
security-policy wpa
wpa authentication-method psk pass-phrase huaweipsk encryption-method ccmp
security-profile name security-prof-wpaeap1 id 3
security-policy wpa2
访客服务集配置、开放认证
service-set name huawei-guest1 id 0
forward-mode tunnel
wlan-ess 0
ssid huawei-guest1
traffic-profile id 0
security-profile id 0
service-vlan 13
语音用服务集配置,WPA-PSK认证
service-set name huawei-voice1 id 1
forward-mode tunnel
wlan-ess 1
ssid huawei-voice1
undo user-isolate
traffic-profile id 0
security-profile id 2
service-vlan 12
雇员用服务集配置,dot1X PEAP认证,支持漫游
service-set name huawei-employee1 id 2
forward-mode tunnel
wlan-ess 2
ssid huawei-employee1
undo user-isolate
traffic-profile id 0
security-profile id 3
service-vlan 11
service-set name huawei-employee1a id 3
forward-mode tunnel
wlan-ess 3
ssid huawei-employee1
undo user-isolate
traffic-profile id 0
security-profile id 3
service-vlan 10
802.11N射频模板配置
radio-profile name radio0-prof-1 id 0
radio-type 80211bgn
channel-mode fixed
wmm-profile id 0
80211n guard-interval-mode short
radio-profile name radio1-prof-1 id 1
radio-type 80211an
channel-mode fixed
wmm-profile id 0
80211n guard-interval-mode short
802.11n手工信道指定及VAP配置
ap 0 radio 0
radio-profile id 0
channel 40MHz-plus 3
service-set id 0 wlan 1
service-set id 1 wlan 2
service-set id 2 wlan 3
ap 0 radio 1
radio-profile id 1
channel 40MHz-plus 149
service-set id 0 wlan 1
service-set id 1 wlan 2
service-set id 2 wlan 3
ap 1 radio 0
radio-profile id 0
channel 40MHz-plus 7
service-set id 0 wlan 1
service-set id 1 wlan 2
service-set id 3 wlan 3
ap 1 radio 1
radio-profile id 1
channel 40MHz-plus 157
service-set id 0 wlan 1
service-set id 1 wlan 2
service-set id 3 wlan 3
负载均衡配置
load-balance-group name huawei-lb2 id 0
associate-threshold 10
session gap 20
member ap-id 0 radio-id 0
member ap-id 1 radio-id 0
load-balance-group name huawei-lb5 id 1
associate-threshold 10
traffic gap 20
member ap-id 0 radio-id 1
member ap-id 1 radio-id 1
用户黑名单配置
sta-blacklist 3c43-8ebe-0318
sta-blacklist 0019-7d98-ea29
sta-access-mode ap 0 blacklist
sta-access-mode ap 1 blacklist
#用户组授权管理的用户组配置
user-group admin
acl-id 3003
qos-profile qos-prof-admin1
user-group employee
acl-id 3002
qos-profile qos-prof-employee1
user-isolate inter-group
user-group guest
acl-id 3001
qos-profile qos-prof-guest1
user-isolate inter-group inner-group
return