Help setting up queues, allow bypass for some marked packets

Hello Everyone,

I am new here. Just created my account. I have a RouterBoard 951G Router with RouterOS v5.

Scenario:

  • Youtube is not bandwidth-limited by the ISP
  • For every other traffic, download and upload is limited around 1Mbps

Goal:

  • Don’t do anything about Youtube. Allow unlimited bandwidth to it
  • Prioritize HTTP, HTTPS and SSH traffic
  • Set low priorities to torrents and big HTTP downloads, let them run at full avaiable bandwidth if there are no ongoing priority connections.

What I have achieved so far:

  • Marked required packet categories(Youtube, HTTP, HTTPS, SSH, bigHTTP)

But I am confused about setting up queues. I couldn’t grasp the concepts of queue tree. How can I bypass Youtube packets from being put into queues? Can anyone help set up queues for this scenario? I am eager to learn, not just solve this scenario.