All packets are evaluated by the CIR. If a packet exceeds the CIR, it is evaluated by the PIR. In color-blind mode, the policer supports three loss priorities only: low, medium-high, and high.
In color-blind mode, packets that exceed the CIR but are below the PIR are marked yellow (medium-high). Packets that exceed the PIR are marked red (high), as shown in Table 44.
Table 44: Color-Blind Mode TCM Color-to-PLP Mapping
|
Color |
PLP |
Meaning |
|---|---|---|
|
Green |
low |
Packet does not exceed the CIR. |
|
Yellow |
medium-high |
Packet exceeds the CIR but does not exceed the PIR. |
|
Red |
high |
Packet exceeds the PIR. |
If you are using color-blind mode and you wish to configure an output policer that marks packets to have medium-low loss priority, you must configure a policer at the [edit firewall policer policer-name] hierarchy level. For example:
- firewall {
-
- policer 4PLP {
-
- if-exceeding {
- bandwidth-limit 40k;
- burst-size-limit 4k;
- }
- then loss-priority medium-low;
- }
- }
Apply this policer at one or both of the following hierarchy levels: