Jump to content

This is the support site for Andrews & Arnold Ltd, a UK Internet provider. Information on these pages is generally for our customers but may be useful to others, enjoy!

Router - RouterOS and Routerboard: Difference between revisions

Content deleted Content added
Hendry (talk | contribs)
QoS tip
Hendry (talk | contribs)
Add how to determine YOUR_UPLOAD_SPEED
Line 171: Line 171:
<pre>
<pre>
/queue tree add max-limit=YOUR_UPLOAD_SPEED name=Upload parent=AAISP queue=default
/queue tree add max-limit=YOUR_UPLOAD_SPEED name=Upload parent=AAISP queue=default
</pre>

To determine YOUR_UPLOAD_SPEED, you could query your line details, like so:

<pre>
curl -s -H "Content-Type: application/json" -X POST \
-d '{"control_login": "YOUR_LOGIN@a","control_password":"CONTROL_PASSWORD", "service": "YOUR_NUMBER"}' https://chaos2.aa.net.uk/broadband/info |
jq .info[].rx_rate
</pre>
</pre>