In color-aware mode, the metering treatment the packet receives depends on its classification. Metering can increase a packet’s preassigned PLP, but cannot decrease it, as shown in Table 45.
Table 45: Color-Aware Mode TCM Mapping
The following sections describe color-aware two-rate PLP mapping in more detail.
Packets belonging to the green class have already been marked by a classifier with low PLP. The marking policer can leave the packet’s PLP unchanged or increase the PLP to medium-high or high. Therefore, these packets are metered against both the CIR and the PIR.
For example, if a BA or MF classifier marks a packet with low PLP according to the ToS bits in the IP header, and the two-rate TCM policer is in color-aware mode, the output loss priority is as follows:
Packets belonging to the yellow class have already been marked by a classifier with medium-low or medium-high PLP. The marking policer can leave the packet’s PLP unchanged or increase the PLP to high. Therefore, these packets are metered against the PIR only.
For example, if a BA or MF classifier marks a packet with medium-low PLP according to the ToS bits in the IP header, and the two-rate TCM policer is in color-aware mode, the output loss priority is as follows:
Packets belonging to the yellow class have already been marked by a classifier with medium-low or medium-high PLP. The marking policer can leave the packet’s PLP unchanged or increase the PLP to high. Therefore, these packets are metered against the PIR only.
For example, if a BA or MF classifier marks a packet with medium-high PLP according to the ToS bits in the IP header, and the two-rate TCM policer is in color-aware mode, the output loss priority is as follows:
Packets belonging to the red class have already been marked by a classifier with high PLP. The marking policer can only leave the packet’s PLP unchanged. Therefore, these packets are not metered against the CIR or the PIR and all the packets remain marked as high PLP.