Back to the notes

Notes

QoS is a policy conversation, not a switch

Answer who gets priority, who gets sacrificed and who decides before you touch the CLI. Otherwise you are just turning somebody's guess into a configuration value.

Every engineer who has run a WAN has met this moment: somebody says ‘the video stutters, make the network faster’. It sounds like one command. But the hard part of QoS was never the syntax. QoS is a policy negotiation about priority, and priority is not the network team’s to grant.

Think of bandwidth as a zero-sum budget. The priority you hand to voice is taken from the backup job. So before you write the first class-map, three questions need answers, and they need to exist in writing: which traffic goes first, which traffic gets squeezed and down to how little at peak, and who owns that trade-off.

If nobody answers those questions, you will still write the policy — you will just write it from your own guess. At that point somebody’s assumption has become a production configuration value with nobody backing it. Which is exactly why, two years later, an important internal application breaks and nobody knows which rule is responsible, or dares to remove it.

My habit now is four concrete steps, all of them before the CLI:

  1. Get the traffic facts first. Flow records and queue counters, at peak, showing what actually runs. ‘We mostly use the ERP’ is usually wrong; the data is not.
  2. Ask the business to sort applications into three piles: must not stutter, must not drop but may be slow, may wait. Three piles is enough; twenty classes ends up unmaintainable.
  3. Write the decision onto one page: who agreed, when, and the reasoning that was true at the time. That page is worth more in year two than all your configuration backups.
  4. Only then build the policy, and prove it is live with counters: the class is being hit, the queue is actually queueing, drops happen where I expect them. A policy attached to the wrong interface or the wrong direction is the most common form of ‘I configured it but it does nothing’.

One last caution: QoS only means something where a bottleneck exists. If the egress is never saturated, your policy buys nothing except complexity somebody will later be afraid to touch. Sometimes the technically correct recommendation is to buy a bigger circuit and leave the policy alone.

The short version: queues are an engineering question, priority is a policy question. Keep them apart and your QoS will still be understandable in its second year.