tip

华为WLAN指导设计 来源:华为星火计划培训

华为WLAN设计
网优网归 场景规划
方案设计

【资料简介】华为Wlan网络网规网优技术、场景规划与方案设计,从0开始设计到交付,一本完完整整的学习教材,建议从事无线学习的同学学习..

马上观看
zon

华为WLAN专题集锦 专题:华为WLAN

WLAN配置
组网模式解析
组网配置案例

【华为无线】本指南详细介绍每个模版的命令解释及用途,在加上十多种精彩案例分享及解释,再加上网优网归,让你彻底脱盲,不在为无线..

马上观看
zon

家园VBook中心 分类:书籍中心

教材 案例 题库
知识 专业认证
资源价值

【中心简介】家园Vbook书籍中心是以收集和整理互联网上优秀书籍,以最好的知识推荐给你学习,让你在学习的路程上事半功倍,告别枯燥,早..

马上观看
tip

华为HCIE认证之路 分类:华为认证

HCIE学习之路
华为 路由 交换
含金量最大的资料

【学习介绍】在中国拥有一张证书不是梦,冰冻三尺,非一日之寒,要拥有一张认证所具备含金量技术水准那是需要多年的经年积累,本书专为你分享..

马上观看
tip

华三无线专题报告 发布:建哥哥

华三
H3C WLAN AC
无线专题

【资料简介】大好河山、无线风光,主要介绍H3C无线,从基础到高级配置及组网模式配置案例,多达200篇案例配置,从此告别对无线的迷茫..

马上观看
★浏览次数:63 次★  发布日期:2016-03-02
 当前位置:技术资料 > 网络工程 > Huawei > 正文
 
最近更新
    正在更新...
 

华为WLAN配置多射频基于用户数的负载均衡示例

 

配置多射频基于用户数的负载均衡示例

适用的AC:AC6605、AC6005

适用的AP:所有形态的AP

适用的版本:V200R005C00

组网需求

如图1所示,AC下接入的AP域10需要同时部署2.4G和5G的WLAN网络,AP1为双频AP,加入到AP域10,且接入AP域10的STA同时支持2.4G和5G频段。

当大量客户端接入到AP的某一个射频(2.4G或者5G)上时,会造成AP负载过重,降低用户上网质量。企业希望通过配置多射频基于用户数的负载均衡,使用户平均的连接到AP的两个射频上,避免某一个射频负载过重。

置多射频基于用户数的负载均衡

图1 配置多射频基于用户数的负载均衡组网图

配置思路

采用如下的思路配置基于流量模式的动态负载均衡:

配置WLAN基本业务,保证用户能够通过WLAN网络接入Internet。

配置多射频基于用户数的负载均衡,使得STA均衡接入AP的两个射频,从而减轻AP负担。

操作步骤

1、配置AC,使AP与AC之间能够传输CAPWAP报文

# 配置AC,将接口GE0/0/1加入VLAN100(管理VLAN)。

<AC6605> system-view
[AC6605] sysname AC
[AC] vlan batch 100
[AC] interface gigabitethernet 0/0/1
[AC-GigabitEthernet0/0/1] port link-type trunk
[AC-GigabitEthernet0/0/1] port trunk pvid vlan 100
[AC-GigabitEthernet0/0/1] port trunk allow-pass vlan 100
[AC-GigabitEthernet0/0/1] quit

 2、配置AC与上层网络设备互通

# 配置AC上行接口GE0/0/3加入VLAN101。

[AC] vlan batch 101
[AC] interface gigabitethernet 0/0/3
[AC-GigabitEthernet0/0/3] port link-type trunk
[AC-GigabitEthernet0/0/3] port trunk allow-pass vlan 101
[AC-GigabitEthernet0/0/3] quit

 3、配置AC作为DHCP服务器,为STA和AP分配IP地址

# 配置基于接口地址池的DHCP服务器,其中,VLANIF100接口为AP1和AP2提供IP地址,VLANIF101为STA提供IP地址。

[AC] dhcp enable
[AC] interface vlanif 100
[AC-Vlanif100] ip address 192.168.10.1 24
[AC-Vlanif100] dhcp select interface
[AC-Vlanif100] quit
[AC] interface vlanif 101
[AC-Vlanif101] ip address 192.168.11.1 24
[AC-Vlanif101] dhcp select interface
[AC-Vlanif101] quit

 4、配置AC的系统参数

# 配置AC的国家码。

[AC] wlan ac-global country-code cn
  Warning: Modify the country code may delete configuration on those AP which use the global country code and reset them, continue?[Y/N]:y

# 配置AC ID和运营商标识。

[AC] wlan ac-global ac id 1 carrier id other

# 配置AC的源接口。

[AC] wlan[AC-wlan-view] wlan ac source interface vlanif 100

 5、在AC上管理AP

# 现场获取AP的MAC地址后,查看AP的设备类型ID。

[AC-wlan-view] display ap-type all  All AP types information:     

# 根据查询到的AP设备类型ID,离线添加AP。假设AP的类型为AP6010DN-AGN,其MAC地址为60de-4476-e360。

说明:ap-auth-mode命令缺省情况下为MAC认证,如果之前没有修改其缺省配置,可以不用执行ap-auth-mode mac-auth。

# 配置AP域并将AP加入到AP域,并配置STA的射频接入模式为normal。

[AC-wlan-view] ap-region id 10
[AC-wlan-ap-region-10] quit
[AC-wlan-view] ap id 1
[AC-wlan-ap-1] region-id 10
[AC-wlan-ap-1] access priority normal
[AC-wlan-ap-1] quit

# 将AP1上电后,可以查看到AP1的“State”字段为“normal”。

[AC-wlan-view] display ap all  All AP

6、配置WLAN业务参数

# 创建名为“wmm”的WMM模板,参数采用默认配置。

[AC-wlan-view] wmm-profile name wmm id 1[AC-wlan-wmm-prof-wmm] quit

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

[AC-wlan-view] radio-profile name radio id 1
[AC-wlan-radio-prof-radio] 80211n guard-interval-mode short
[AC-wlan-radio-prof-radio] channel-mode fixed
[AC-wlan-radio-prof-radio] wmm-profile name wmm
[AC-wlan-radio-prof-radio] quit[AC-wlan-view] quit

# 创建WLAN-ESS接口1。

[AC] interface wlan-ess 1
[AC-Wlan-Ess1] port hybrid pvid vlan 101
[AC-Wlan-Ess1] port hybrid untagged vlan 101
[AC-Wlan-Ess1] quit

# 创建名为“security”的安全模板,参数采用默认配置,即开放认证、不加密。

[AC] wlan
[AC-wlan-view] security-profile name security id 1
[AC-wlan-sec-prof-security] quit

# 创建名为“traffic”的流量模板,参数采用默认配置。

[AC-wlan-view] traffic-profile name traffic id 1
[AC-wlan-traffic-prof-traffic] quit

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

[AC-wlan-view] service-set name test id 1
[AC-wlan-service-set-test] ssid test
[AC-wlan-service-set-test] wlan-ess 1
[AC-wlan-service-set-test] security-profile name security
[AC-wlan-service-set-test] traffic-profile name traffic
[AC-wlan-service-set-test] service-vlan 101
[AC-wlan-service-set-test] forward-mode tunnel
[AC-wlan-service-set-test] quit

# 配置VAP。

[AC-wlan-view] ap 1 radio 0
[AC-wlan-radio-1/0] radio-profile name radio
[AC-wlan-radio-1/0] channel 20mhz 1
[AC-wlan-radio-1/0] service-set name test
[AC-wlan-radio-1/0] quit
[AC-wlan-view] ap 1 radio 1
[AC-wlan-radio-1/1] radio-profile name radio
[AC-wlan-radio-1/1] channel 40mhz-plus 157
[AC-wlan-radio-1/1] service-set name test
[AC-wlan-radio-1/1] quit

# 提交配置。

[AC-wlan-view] commit ap 1  Warning: Committing configuration may cause service interruption,continue?[Y/N]y

7、配置多射频基于用户数的负载均衡功能并指接入用户数的门限为20。

[AC-wlan-view] ap id 1
[AC-wlan-ap-1] access balance-users gap 20
[AC-wlan-ap-1] quit[AC-wlan-view] commit ap 1
  Warning: Committing configuration may cause service interruption,continue?[Y/N] y

 8、验证配置结果

 完成配置后,用户可以搜索到名称为test的无线网络。

在AC上执行display ap id 1命令,查看多射频基于用户数的负载均衡的配置信息。

<AC> display ap id 1
 AP 1 detail information:                                                      
 ------------------------------------------------------------------------------
 AP type ID: 30                                                                
 AP type: AP5010DN-AGN                                                        
 AP profile ID: 0                                                              
 AP region ID: 0                                                              
 Sysname: ap-1                                                                
 Keep-Service: Disable                                                        
 AP access balance-users gap: 20                                              
 AP access priority mode: Normal Access                                        
 State: fault                                                                  
.......

新用户想连接到AP时,AP将统计各射频上接入用户数,以2.4G为例,如果2.4G射频接入的用户数–5G射频接入的用户数 > 20,则拒绝该户在2.4G射频上线,直到拒绝次数超过associate-threshold配置的最大关联次数。

 
建议使用IE8.0以上版本解析 网络QQ群:30573676 家园群:36740144 Elv home systems. 蜀ICP备20009373号 © All Rights Reserved 2012 - By badulip
×

扫二维码,关注微信公众号