功能简介:    

    无线限速根据带宽控制的范围可以划分为:    

    基于wlan限速(也叫基于ssid限速,wlan-config中配置) :基于wlan限速指的是限速范围是以wlan为单位。Wlan限速有三种策略:

       1).   Wlan-based total-user:可以配置指定wlan的上下行总带宽,当该策略生效时,在AC上属于该wlan范围内的所有用户的总带宽不能超过配置的额定速率。    

       2).   Wlan-based per-user:可以配置指定wlan的所有用户各自的上下行带宽,当该策略生效时,所有AP上的关联了该wlan的所有用户,每个用户的带宽都不能超过配置的额定速率。    

       3).   Wlan-based per-ap:可以配置指定wlan对于各个AP而言的上下行总带宽,当该策略生效时,以AP为单位,每个AP上的关联了该wlan的所有用户的总带宽不能超过配置的额定速率。    

    基于ap限速(也叫基于AP限速,ap-config中配置):基于ap限速指的是限速范围是以ap为单位。ap限速有两种策略:

       1).   ap-based total-user:可以配置指定ap的上下行总带宽,当该策略生效时,ap上关联的所有用户的总带宽不能超过配置的额定速率。    

       2).   ap-based per-user:可以配置指定ap的所有用户各自上下行带宽,当该策略生效时,ap上关联的所有用户,每个用户的带宽都不能超过配置的额定速率。    

    基于单用户限速(ac-controller模式下配置):基于用户是对个别用户可以指定一个额定的速率,与wlan-based和ap-based的peruser不同,该额定速率只对该用户生效。

    同时为了方便网管的使用,限速还具备自适应的带宽控制。

配置方法

//在AC上配置WLAN1的每个用户的限速为上下行平均流量为100KB      
Ruijie(config)#wlan-config 1    
Ruijie(config-wlan)# wlan-based per-user-limit up-streams average-data-rate 100 burst-data-rate 200 
Ruijie(config-wlan)# wlan-based per-user-limit down-streams average-data-rate 100 burst-data-rate 200
Ruijie(config-wlan)#end    

//在AC上配置WLAN2的perap上下行限速为1000KB。       
Ruijie(config)#wlan-config 1    
Ruijie(config-wlan)# wlan-based per-ap-limit up-streams average-data-rate 1000 burst-data-rate 1000    
Ruijie(config-wlan)# wlan-based per-ap-limit down-streams average-data-rate 1000 burst-data-rate 1000    
Ruijie(config-wlan)#end    

//在AC上配置STA3的上下行平均限速为300KB,突发速率为400KB。      
Ruijie(config)#ac-controller    
Ruijie(config-ac)#netuser 3333.3333.3333 inbound average-data-rate 300 burst-data-rate 400
Ruijie(config-ac)#netuser 3333.3333.3333 outbound average-data-rate 300 burst-data-rate 400
Ruijie(config-ac)#end    

//在AC上配置AP1的总带宽上下行平均限速为2000KB,突发速率为2000KB。    
Ruijie(config)#ap-config AP1    
Ruijie(config-ap)#ap-based total-user-limit up-streams average-data-rate 2000 burst-data-rate 2000    
Ruijie(config-ap)#ap-based total-user-limit down-streams average-data-rate 2000 burst-data-rate 2000    
Ruijie(config-ap)#end

无线瘦AP限速配置完成