Chapter 31 Differentiated Services
Two Rate Three Color Marker (TRTCM, defined in RFC 2698) is a type of traffic policing that identifies packets by comparing them to two
Two Rate Three Color Marker evaluates incoming packets and marks them with one of three colors which refer to packet loss priority levels. High packet loss priority level is referred to as red, medium is referred to as yellow and low is referred to as green. After TRTCM is configured and DiffServ is enabled the following actions are performed on the colored packets:
•Red (high loss priority level) packets are dropped.
•Yellow (medium loss priority level) packets are dropped if there is congestion on the network.
•Green (low loss priority level) packets are forwarded.
TRTCM operates in one of two modes:
31.2.1 TRTCM-Color-blind Mode
All packets are evaluated against the PIR. If a packet exceeds the PIR it is marked red. Otherwise it is evaluated against the CIR. If it exceeds the CIR then it is marked yellow. Finally, if it is below the CIR then it is marked green.
Figure 151
| Exceed NO |
|
| Exceed NO |
|
| Low Packet |
| ||||||||
| PIR? |
|
|
|
| CIR? |
|
|
| Loss |
| |||||
|
| |||||||||||||||
|
|
|
|
|
|
| ||||||||||
|
|
| YES |
|
|
|
| YES |
|
|
|
| ||||
|
|
|
|
|
|
|
|
|
|
| ||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||
| High Packet |
|
|
| Medium Packet |
|
|
|
|
| ||||||
| Loss |
|
|
| Loss |
|
|
|
|
|
| 281 |
|
|