API Guide

Start frame delimiter1 byte
Destination MAC address6 bytes
Source MAC address6 bytes
Ethernet type/length2 bytes
Payloadvariable
Cyclic redundancy check4 bytes
Inter-frame gapvariable
The rate adjustment feature is disabled by default. To enable rate adjustment, use the qos-rate-adjust
value_of_rate_adjust command. For example:
qos-rate-adjust 8
If you have configured WDRR and shaping on a particular queue, the queue can become congested. You should configure the
QoS rate adjust value considering the overhead field size to avoid traffic drops on uncongested queues.
If you have multiple streams within a queue, you must find the overhead size for the different streams and the QoS rate adjust
value should be the highest overhead size from among the various streams within that queue.
Consider the example where you have configured WDRR and shaping on a queue that has two different traffic streams, TS1 and
TS2, that uses preamble, SFD, and IFG overhead fields:
If the IFG in TS1 uses 16 bytes, QoS rate adjust value should be 24 (preamble + SFD requires 8 bytes and IFG 16 bytes).
If the IFG in TS2 uses 12 bytes, QoS rate adjust value should be 20 (preamble + SFD requires 8 bytes and IFG 12 bytes).
In this case, the highest QoS rate adjust value between the two streams is 24 bytes. Hence, you must configure the QoS rate
adjust value as 24.
NOTE: This feature is not supported on the S4200-ON Series platforms.
Buffer management
OS10 devices distribute the total available buffer resources into two buffer pools at ingress direction and three buffer pools at
egress direction of all physical ports.
You can map a single traffic class or a group of traffic classes to a priority group. All ports in a system are allocated a certain
amount of buffers from corresponding pools based on the configuration state of each priority-group or queue. The remaining
buffers in the pool are shared across all similarly configured ports.
The following buffer pools are available:
Ingress buffer pools:
Lossy pool (default)
Lossless pool
PFCFor all platforms
LLFCFor all platforms except the S4200-ON series switches
Egress buffer pools:
Lossy pool (default)
Lossless pool
PFCFor all platforms
LLFCFor all platforms except the S4200-ON series switches
CPU pool (CPU control traffic)
The following terms are used in this section:
Default bufferBy default, the system allocates a certain amount of default buffer to all the ports.
Reserved bufferThe system reserves a dedicated amount of buffer to a port or a priority group (at ingress) and a port or a
queue (at egress).
Shared bufferIs the total available buffer space minus the reserved buffer space. Shared buffer is used for CPU control
traffic and is dynamically allocated to the ports when memory space is needed.
Alpha value
Quality of service
1205