I’d like to count wan traffic for certain IPs on the LAN. Apparently one way to do this is to send this traffic to queues and then use router OS’ graphing tool to gather and display statistics.
My question is how to set this up when I already use queues for QOS:
/queue type
add name=pcq-download kind=pcq pcq-rate=128k pcq-burst-rate=256k pcq-burst-threshold=150k pcq-burst-time=10s pcq-classifier=dst-address
/queue tree
add limit-at=500M max-limit=500M name=ALL-IN parent=global-in priority=1
add name=1_voip_down packet-mark=voip parent=ALL-IN priority=1
add name=1_small packet-mark=small parent=ALL-IN priority=1
add name=2_udp100 packet-mark=udp-100 parent=ALL-IN priority=2
add name=2_express packet-mark=express parent=ALL-IN priority=2
add name=3_video packet-mark=video parent=ALL-IN priority=3
add name=4_priority packet-mark=priority parent=ALL-IN priority=4
add name=5_other packet-mark=other parent=ALL-IN priority=5
add name=6_dmz packet-mark=dmz parent=ALL-IN priority=6
add name=7_surfing-low-speed packet-mark=surfing parent=ALL-IN disabled=yes priority=7 queue=pcq-download
add name=7_surfing-high-speed packet-mark=surfing parent=ALL-IN disabled=no priority=7
add limit-at=500M max-limit=500M name=ALL-OUT parent=global-out priority=1
add name=1_voip_up packet-mark=voip parent=ALL-OUT priority=1
It looks to me like I need to setup a separate queue tree for traffic counting. How can I do this without interfering with the QOS tree / pcq-download queue? Or - is there a better approach to achieve the same?