93733,H3C WX3024E 如何对VLAN用户做QOS限流
acl number 3
rule
rule 1 permit ip source 172.4
traffic classifier class1 operator and
if-match acl 3
traffic behavior b1 car cir 8
QoS可以应用在wlan-ess口下,也可以直接在服务模板下配置。
用户限速服务典型配置举例
1. 组网需求
AC与二层交换机Switch相连,AP和AC在同一个网络。在AC上配置用户限速功能,使AP分别在入方向上以静态模式、在出方向上以动态模式限制无线客户端的速率。
2. 组网图
图1-7 用户限速基本服务组网图
3. 配置步骤
# 开启WLAN服务(该命令可以不配置,因为缺省情况下该命令处于开启状态)。
<AC> system-view
[AC] wlan enable
# 创建WLAN ESS接口。
[AC] interface wlan-ess 1
[AC-WLAN-ESS1] port link-type hybrid
[AC-WLAN-ESS1] quit
# 配置WLAN服务模板(明文模板),配置SSID为service,并将WLAN-ESS接口与该服务模板绑定。
[AC] wlan service-template 1 clear
[AC-wlan-st-1] ssid service
[AC-wlan-st-1] bind wlan-ess 1
[AC-wlan-st-1] authentication-method open-system
# 配置基于无线服务的无线用户限速功能,使从客户端到AP方向的固定速率为8
[AC-wlan-st-1] client-rate-limit direction inbound mode static cir 8
[AC-wlan-st-1] client-rate-limit direction outbound mode dynamic cir 8
[AC-wlan-st-1] service-template enable
[AC-wlan-st-1] quit
# 创建AP模板,名称为ap1。
[AC] wlan ap ap1 model WA3628i-AGN
[AC-wlan-ap-ap1] serial-id 21
# 配置8
[AC-wlan-ap-ap1] radio 1 type dot11an
# 将服务模板1绑定到Radio 1口。
[AC-wlan-ap-ap1-radio-1] service-template 1
[AC-wlan-ap-ap1-radio-1] radio enable
[AC-wlan-ap-ap1-radio-1] return
4. 验证配置结果
# 通过display wlan client-rate-limit service-template 命令查看用户限速的配置情况。
<AC> display wlan client-rate-limit service-template
Client Rate Limit
--------------------------------------------------------------------------------
Service Template Direction Mode CIRkbps)
--------------------------------------------------------------------------------
1 Inbound Static 8
1 Outbound Dynamic 8
--------------------------------------------------------------------------------
只有Client 1通过service接入无线网络,可使用的带宽被限制在8
2) Client 2也通过service接入无线网络后,从Client 1、Client 2侧到AP侧方向上的可使用的带宽分别被限制在8
2
除了WLAN 限流外,还在其设备内配制了其它三层VLAN并分配地址给特定用户,但此设备不同于其它设备,用QOS POLICE XX无法应用到VLAN上
93733 发表时间:2H3C Comware Platform Software Comware Software, Version 5.2
2CRM论坛(CRMbbs.com)——一个让用户更懂CRM的垂直性行业内容平台,CRM论坛致力于互联网、客户管理、销售管理、SCRM私域流量内容输出5年。 如果您有好的内容,欢迎向我们投稿,共建CRM多元化生态体系,创建CRM客户管理一体化生态解决方案。,H3C WX3024E 如何对VLAN用户做QOS限流