router os中的queues有几种
1 simple队列中tigger目标地址是针对所指定的地址进行UP,DOWN的限速,并非source的意义。
2 PCQ队列和simple技术结合使用的时候,可以针对内网地址进行每IP限速
1. Mark all packets with packet-mark all:
/ip firewall mangle add chain=prerouting action=mark-packet new-packet-mark=all passthrough=no

2. Setup two PCQ queue types - one for download and one for upload. dst-address is classifier for user's download traffic, src-address for upload traffic:
/queue type add name="PCQ_download" kind=pcq pcq-rate=64000 pcq-classifier=dst-address
/queue type add name="PCQ_upload" kind=pcq pcq-rate=32000 pcq-classifier=src-address

3. Finally, two queue rules are required, one for download and one for upload:
/queue tree add parent=lan queue=PCQ_download packet-mark=all
/queue tree add parent=public queue=PCQ_upload packet-mark=all
如果和queue tree结合的时候则不一样。
If you don't like using mangle and queue trees, you can skip step 1, do step 2, and step 3 would be to create one simple queue as shown here:
/queue simple add queue=PCQ_upload/PCQ_download target-addresses=