Adam Siemiginowski
Occasional Visitor
Hi.
I have a router (RT-AC87U) and access point (RT-AC5300) both running Merlin 380.68.
My goal with this post is to document how to:
I have struggled to find any solutions on the web... and have explored the following methods all to no avail:
Regarding nvram settings...
Here is what I implemented via Telnet - and along the way checked the guest network on both 2.4ghz and 5ghz on both my router and access point - with no active bandwidth limiting. (I also tried this with very extreme limits - at 500kbits - to no avail.)
REQUESTS:
Related threads:
I have a router (RT-AC87U) and access point (RT-AC5300) both running Merlin 380.68.
My goal with this post is to document how to:
- limit a guest networks bandwidth to 40% of my total 60mbps down / 5mbps up connection, and
- if also possible, preserve Adaptive QoS functionality which ensures business critical devices are treated with highest priority on the private network - namely our iPads servicing the point of sale.
I have struggled to find any solutions on the web... and have explored the following methods all to no avail:
- nvram settings
- I was able to successfully implement some seemingly perfect controls - but no impact was made to my guest network throughput.
- 'tc' JFFS scripts
- I could not identify what/how to implement with the various interfaces recommended (br1, imq0, wl0.1...)
- ASUS Router App 'Bandwidth Limiter' for Guest Network
- This does not seem to function - and there is no clear definition of what trigger it is implementing...
Regarding nvram settings...
Here is what I implemented via Telnet - and along the way checked the guest network on both 2.4ghz and 5ghz on both my router and access point - with no active bandwidth limiting. (I also tried this with very extreme limits - at 500kbits - to no avail.)
Code:
## RT-AC87U - Router
# CHECK INITIAL CONFIG
nvram get qos_enable
1
nvram get qos_type
1
nvram get wl0.1_bw_enabled
0
nvram get wl0.1_bw_dl
null
nvram get wl0.1_bw_ul
null
nvram get wl1.1_bw_enabled
0
nvram get wl1.1_bw_dl
null
nvram get wl1.1_bw_ul
null
# SET CONFIG
nvram set qos_enable=1
nvram set qos_type=2
nvram set wl0.1_bw_enabled=1
nvram set wl0.1_bw_dl=20000
nvram set wl0.1_bw_ul=2000
nvram set wl1.1_bw_enabled=1
nvram set wl1.1_bw_dl=20000
nvram set wl1.1_bw_ul=2000
nvram commit
reboot
# VERIFY CONFIG
nvram get qos_enable
1
nvram get qos_type
2
nvram get wl0.1_bw_enabled
1
nvram get wl0.1_bw_dl
20000
nvram get wl0.1_bw_ul
2000
nvram get wl1.1_bw_enabled
1
nvram get wl1.1_bw_dl
20000
nvram get wl1.1_bw_ul
2000
## RT-AC5300 - Access Point
# CHECK INITIAL CONFIG
nvram get qos_enable
0
nvram get qos_type
1
nvram get wl0.1_bw_enabled
0
nvram get wl0.1_bw_dl
null
nvram get wl0.1_bw_ul
null
nvram get wl1.1_bw_enabled
0
nvram get wl1.1_bw_dl
null
nvram get wl1.1_bw_ul
null
nvram get wl1.2_bw_enabled
0
nvram get wl1.2_bw_dl
null
nvram get wl1.2_bw_ul
null
# SET CONFIG
nvram set qos_enable=1
nvram set qos_type=2
nvram set wl0.1_bw_enabled=1
nvram set wl0.1_bw_dl=20000
nvram set wl0.1_bw_ul=2000
nvram set wl1.1_bw_enabled=1
nvram set wl1.1_bw_dl=20000
nvram set wl1.1_bw_ul=2000
nvram set wl1.2_bw_enabled=1
nvram set wl1.2_bw_dl=20000
nvram set wl1.2_bw_ul=2000
nvram commit
reboot
# VERIFY CONFIG
nvram get qos_enable
1
nvram get qos_type
2
nvram get wl0.1_bw_enabled
1
nvram get wl0.1_bw_dl
20000
nvram get wl0.1_bw_ul
2000
nvram get wl1.1_bw_enabled
1
nvram get wl1.1_bw_dl
20000
nvram get wl1.1_bw_ul
2000
nvram get wl1.2_bw_enabled
1
nvram get wl1.2_bw_dl
20000
nvram get wl1.2_bw_ul
2000
REQUESTS:
- What advice would you give me on actually implementing these nvram commands i.e. wl0.1_bw_enabled, wl0.1_bw_dl, wl0.1_bw_ul..? Do they work? And for Guest Networks?
- How should I go about safely creating / testing a script using the 'tc' scripts? More in this post: https://www.snbforums.com/threads/limit-bandwidth-guest-network.32270
- Is 'Bandwidth Limiter' QoS (qos_type=2) required for the Guest Networks to be limited? Is Adaptive QoS (qos_type=1) possible with Guest Networks limited?
- Are 'wl0.1', 'wl1.1', and 'wl1.2' the accurate interface names for the 2.4ghz-1, 5ghz-1 and 5ghz-2 Guest Networks? How can I verify?
- EDIT: I found this Telnet command to verify the interfaces used for a specific SSID:
- nvram show | grep SSID
- EDIT: I found this Telnet command to verify the interfaces used for a specific SSID:
- Is 'nvram commit' necessary for ALL these NVRAM changes to take effect? 'nvram set qos_type=2' adjusts QoS to 'Bandwidth Limiter' if you refresh the UI before 'nvram commit'.
Related threads:
Last edited: