Ruijie Community

Title: How to configure the speed limit for connected users on AC? [Print this page]

Author: GTAC-Sophia    Time: 2022-7-14 15:39
Title: How to configure the speed limit for connected users on AC?
Applied scenarios
The main function of wireless speed limit is to limit the bandwidth occupation of wireless users to achieve the reasonable bandwidth. In the practical application scenarios, bandwidth control can be used to avoid excessive preemption of bandwidth by individual users and the network usage of others.     
Case of configuration

a) AP based Rate Limit

Ruijie(config)#ap-config ap-name

Ruijie(config-ap)#ap-based  { per-user-limit | total-user-limit  }  {down-streams | up-streams }  average-data-rate average-data-rate burst-data-rate burst-data-rate
Assign 800KBps average data rate and 1600KBps burst data rate to each wireless user connected to AP RJAP.
Ruijie(config)#ap-config RJAP
Ruijie(config-ap)#ap-based per-user-l
imit down-streams average-data-rate 800 burst-data-rate 1600
Attention: The unit is 8K Bit = 1K Byte.
Shown as the below picture, this policy is also supported to be configured in the eweb of AC.
                                              b)Wlan based Rate Limit
1. The rate limit for each user of WLAN1 on the AC to set the average uplink and downlink traffic to 100KB.
Ruijie#configure terminal   
Ruijie(config)#wlan-config 1   
Ruijie(config-wlan)# wlan-based per-user-limit up-streams average-data-rate 100 burst-data-rate 200    //configure the up-stream rate   
Ruijie(config-wlan)# wlan-based per-user-limit down-streams average-data-rate 100 burst-data-rate 200    //configure the down-stream rate   
Ruijie(config-wlan)#end
This policy is also supported to configure on the eweb of AC.


2. Configure the per
AP uplink and downlink speed limit of WLAN2 on the AC to 1000KB

Ruijie#configure terminal   
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
3. Configure the average uplink and downlink speed limit of STA3 on the AC to 300KB and the burst rate to 400KB
Ruijie#configure terminal   
Ruijie(config)#ac-controller   
Ruijie(config-ac)#netuser 3333.3333.3333 inbound average-data-rate 300 burst-data-rate 400-----> assume the STA mac address is 3333.3333.3333, configure the up-stream   
Ruijie(config-ac)#netuser 3333.3333.3333 outbound average-data-rate 300 burst-data-rate 400 -----> assume the STA mac address is 3333.3333.3333, configure the dwon-stream      
Ruijie(config-ac)#end   
Configure the total bandwidth of AP1 on the AC to be 2000KB for the average uplink and downlink rate, and 2000KB for the burst rate.
Ruijie#configure terminal   
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
Note:
The priority of Rate Limit
(1) Netuser
(2) wlan-based peruser
(3) ap-based peruser
Verification
1. Connect to Wlan and have a speed test
2. Display QOS status on AC, execute commands "show dot11 ratelimit", 'show dot11 ratelimit wlan',  'show dot11 ratelimit user' and 'show dot11 ratelimit ap'





Welcome to Ruijie Community (https://community.ruijienetworks.com/) Powered by Discuz! X3.2