QoS: Classification, Policing, Shaping and Queuing
Quality of service is what a router does when a link is busier than it is wide. OcNOS classifies traffic on ingress, meters it against a contracted rate, then queues, schedules and shapes it on egress, with the same configuration model across every routing and switching platform IP Infusion ships.
The QoS pipeline
A packet meets QoS twice. On the way in it is classified, optionally remarked, and metered against a policer. On the way out it is placed in a queue, selected by a scheduler, and released through a shaper. Each stage has its own standard and its own failure mode.
Policing and shaping solve different problems
These two are routinely treated as interchangeable and they are not. A policer measures a flow and acts on the packet in front of it right now. Traffic inside the contracted rate goes through, traffic outside it is dropped or remarked to a lower priority, and nothing is stored. Because a policer never buffers, it adds no delay, and because it never delays, it cannot smooth anything. Bursts are cut rather than absorbed.
A shaper does the opposite. Excess traffic is held in a queue and released at the configured rate, so the profile leaving the port is smooth even when the traffic arriving was bursty. That protects a downstream link or a customer handoff from receiving more than it agreed to carry, but the smoothing is paid for in latency and buffer occupancy.
The practical split follows from that. Police on ingress to protect your own network from traffic that exceeds what was sold. Shape on egress to protect whatever sits downstream. Policing on an egress handoff will hit an application with drops it cannot see coming. Shaping on ingress simply moves your congestion problem into your own buffers.
Three colors, two ways to measure
Both OcNOS policers are three-color markers. Green is inside the committed rate, yellow is inside the burst allowance, red is out of contract. What differs is how the rate is measured. A single-rate three-color marker (RFC 2697) works from one rate with a committed and an excess burst, which suits a contract that permits bursts but not a sustained higher rate. A two-rate three-color marker (RFC 4115) measures a committed rate and a peak rate independently, which suits a contract with a genuine hard ceiling above the committed rate. Both are available on all 26 service provider and 18 data center platforms.
What OcNOS implements
Match on what is actually there
Interface, access list, DSCP, IP precedence, RTP or 802.1p, following the DiffServ architecture in RFC 2475. A port can also be set to trust the 802.1p or DSCP values already applied upstream instead of reclassifying.
srTCM and trTCM
Single-rate three-color metering per RFC 2697 and two-rate three-color metering per RFC 4115, with drop or remark on the out-of-contract color. Available across the full platform set.
WRED before overflow
Weighted Random Early Detection per RFC 2309 drops a rising share of packets as the queue builds, so senders back off before a tail drop takes out every flow at once.
WRR, WFQ and strict priority
Weighted round robin, weighted fair queuing and strict priority across multiple hardware queues per port, with the service-class guidance in RFC 4594 as the starting point. Minimum and maximum bandwidth can be set per queue.
Per queue and per port
Rate shaping applied to an individual queue or to the port as a whole, per the policy model in RFC 3644, so an aggregate ceiling and per-class ceilings can coexist on the same interface.
Counters that answer the question
Class-map statistics and per-egress-queue counters, so a policy can be shown to be matching the traffic you think it is matching, and a queue can be shown to be draining.
Where service provider and data center platforms differ
Most of the QoS toolkit is common to both platform families, but three capabilities are not, and assuming otherwise is a design error worth catching early.
- Hierarchical queuing is a service provider capability. A one, two or three level queuing hierarchy (RFC 3644) lets a port-level shaper sit above per-service queues, which is what a carrier Ethernet handoff or a business-services aggregation port needs. It is available on all 26 service provider platforms and is not part of the data center set. The related service-queuing model, which maps services to VLANs and shapes each one, has the same scope.
- Explicit Congestion Notification is a data center capability. ECN (RFC 3168) marks packets instead of dropping them so the endpoint can react, which is what makes lossless RDMA transport workable. It is available on 16 data center platforms. On an AI or storage fabric it is the foundation that DCQCN builds on, alongside PFC.
- Remarking of bridged packets is a data center capability, available on all 18 data center platforms.
If a design depends on one of these, confirm the platform first. The Feature-Matrix carries the per-platform detail, and the Hardware-Kompatibilitätsliste maps it to the routers and switches those features run on.
Working out a QoS policy for a real handoff?
Talk to an engineer →Häufig gestellte Fragen
What is QoS on a router?
What is the difference between traffic policing and traffic shaping?
What is WRED and why use it?
What are srTCM and trTCM?
Does OcNOS support hierarchical QoS?
What can OcNOS classify traffic on?
Design the whole AI fabric with OcNOS
From the business case to the port-count maths, pick up wherever you are in the build.
Gehen Sie tiefer. Nehmen Sie es mit.
Zwei kurze, technische Downloads, die über diese Seite hinausgehen: das vollständige OcNOS-SP Datenblatt und das vollständige OcNOS-DC Datenblatt.
OcNOS-SP Datenblatt
Vollständige OcNOS-SP Spezifikation: Funktionsumfang für Access, Cell Site und Aggregation, Software-SKUs, unterstützte Hardware-Plattformen und der Solution Ordering Guide.
Datasheet abrufenOcNOS-DC Datenblatt
Vollständige OcNOS-DC Spezifikation: Funktionsumfang für EVPN-VXLAN und Ethernet for AI, Software-SKUs, unterstützte Hardware-Plattformen und der Solution Ordering Guide.
Datasheet abrufenOcNOS-SP Datenblatt
Kurzes Formular. Ihr PDF öffnet sich unmittelbar nach dem Absenden in einem neuen Tab.
✓ Ihr PDF wird in einem neuen Tab geöffnet…
Falls es sich nicht geöffnet hat, nutzen Sie den untenstehenden Link.
OcNOS-DC Datenblatt
Kurzes Formular. Ihr PDF öffnet sich unmittelbar nach dem Absenden in einem neuen Tab.
✓ Ihr PDF wird in einem neuen Tab geöffnet…
Falls es sich nicht geöffnet hat, nutzen Sie den untenstehenden Link.