QoS: ingress and egress bandwidth classes

Per-interface priority ladders with guaranteed rate, optional ceiling and port-based classification.

A priority ladder per interface

Bandwidth management is thought of as a ladder: voice first, then the business application, video, updates, backups. For each interface you can create an egress rule and an ingress rule, even on the same card, and inside the rule you define up to 16 classes. Each class has a name, a guaranteed rate in kbit/s, an optional ceiling and a list of ports. The console orders them by guaranteed rate: the first is the highest-priority band, and the bars show each class’s relative weight.

How traffic is classified

Classification is by port, up to 32 per class, ranges included (for example 5060,10000-10010). For egress you give the destination port; for ingress, the remote service’s port (80, 443, 1935 for downloads, 5060 for telephony), because incoming traffic is diverted to a virtual interface where the ladder is applied as it would be on egress.

Classification is by port, for IPv4 traffic. Assign a class to the traffic that matters, voice, business applications, video, and the ladder keeps each one at its guaranteed rate.

The default class

Traffic not assigned to any class goes to a default class with 256 kbit/s guaranteed and, like every class, it takes the bandwidth the others leave free. The ceiling is optional: leaving it at 0 lets a class use the whole line.

The line speed

For each rule you can give the link’s real speed in that direction, a little below the contracted one. With the speed given, the classes share the line by their guaranteed rates, and the console refuses guarantees that add up to more than it. Leaving it at 0 sets no overall limit: only the classes’ ceilings apply.

What you see in the console

After saving, the rule is applied immediately and reapplied at every boot. On the status page, each rule has a card with bytes sent and packets dropped for each priority and their share of the total; if an enabled rule is not present in the system, the console flags it as a warning.

Request limits

Beyond bandwidth, two limits curb abuse of exposed services. On each open service of a zone you can set a maximum number of new connections per second, minute or hour, with a burst allowance: the excess falls through to the zone’s inbound policy. On each port publication you can limit connections per single source address, so one insistent client does not exhaust the service for others. The per-source counters of publications reset at every firewall apply.

LET’S TALK INFRASTRUCTURE

Control starts with a conversation.

Tell us about your infrastructure. Let’s start with what you actually need.

Talk to an engineer