Increase PPPoE client rate limit
Posted: Wed Dec 03, 2014 9:00 pm
Is it possible to increase pppoe client's rate limit if overall traffic usage is low and decrease pppoe client to original set limit when overall traffic usage rises.
/queue simple add target=192.168.99.0/24
/tool traffic-monitor add interface=ether1-gateway traffic=received trigger=above threshold=20M on-event="/queue simple set 0 total-max-limit=10000000"
### This limits the clients in 192.168.99.0/24 subnet to 10M total traffic if general traffic of WAN is above 20M
### Now you have to restore the limit to unlimited or whatever if traffic is below 20M
/tool traffic-monitor add interface=ether1-gateway traffic=received trigger=below threshold=20M on-event="/queue simple set 0 total-max-limit=0"