SRX 5600 and SRX 5800 devices with input/output cards (IOCs) perform priority propagation. Priority propagation is useful for mixed traffic environments when, for example, you want to make sure that the voice traffic of one customer does not suffer due to the data traffic of another customer. Nodes and queues are always serviced in the order of their priority. The priority of a queue is decided by configuration (the default priority is low) in the scheduler. However, not all elements of hierarchical schedulers have direct priorities configured. Internal nodes, for example, must determine their priority in other ways.
The priority of any internal node is decided by:
Each queue will have a configured priority and a hardware priority. The usual mapping between the configured priority and the hardware priority as shown in Table 218.
Table 218: Queue Priority
|
Configured Priority |
Hardware Priority |
|---|---|
|
Strict-high |
0 |
|
High |
0 |
|
Medium-high |
1 |
|
Medium-low |
1 |
|
Low |
2 |
In CIR mode, the priority for each internal node depends on whether the highest active child node is above or below the guaranteed rate. The mapping between the highest active child's priority and the hardware priority below and above the guaranteed rate is shown in Table 219.
Table 219: Internal Node Queue Priority for CIR Mode
|
Configured Priority of Highest Active Child Node |
Hardware Priority Below Guaranteed Rate |
Hardware Priority Above Guaranteed Rate |
|---|---|---|
|
Strict-high |
0 |
0 |
|
High |
0 |
3 |
|
Medium-high |
1 |
3 |
|
Medium-low |
1 |
3 |
|
Low |
2 |
3 |
In PIR-only mode, nodes cannot send if they are above the configured shaping rate. The mapping between the configured priority and the hardware priority is for PIR-only mode is shown in Table 220.
Table 220: Internal Node Queue Priority for PIR-Only Mode
|
Configured Priority |
Hardware Priority |
|---|---|
|
Strict-high |
0 |
|
High |
0 |
|
Medium-high |
1 |
|
Medium-low |
1 |
|
Low |
2 |
A physical interface with hierarchical schedulers configured is shown in Figure 99. The configured priorities are shown for each queue at the top of the figure. The hardware priorities for each node are shown in parentheses. Each node also shows any configured shaping rate (PIR) or guaranteed rate (CIR) and whether or not the queues are above or below the CIR. The nodes are shown in one of three states: above the CIR (clear), below the CIR (dark), or in a condition where the CIR does not matter (gray).
Figure 99: Hierarchical Schedulers and Priorities

In the figure, the strict high queue for customer VLAN 0 (cvlan 0) receives service first, even though the customer VLAN is above the configured CIR (see Table 219 for the reason: strict-high always has hardware priority 0 regardless of CIR state). Once that queue has been drained, and the priority of the node has become 3 instead of 0 (due to the lack of strict-high traffic), the system moves on to the medium queues next (cvlan 1 and cvlan 3), draining them in a round robin fashion (empty queues lose their hardware priority). The low queue on cvlan 4 (priority 2) will be sent next, because that mode is below the CIR. Then the high queues on cvlan 0 and cvlan2 (both now with priority 3) are drained in a round-robin fashion, and finally the low queue on cvlan 0 is drained (because svlan 0 has a priority of 3).