UMN:CLI
User Manual
V8102
342
Empty
Packet
Token
CBS
EBS
Bucket C
Bucket E
Yellow Color-Marking
Tokens are regenerated
based on CIR
Tokens are regenerated
based on CIR
If the bucket C is empty, the tokens in
the bucket E are decremented by the
size of the packet
Token
Fig. 9.9
Behavior of srTCM (2)
Empty
Packet
Empty
CBS
EBS
Bucket C
Bucket E
Red Color-Marking
Tokens are regenerated
based on CIR
Tokens are regenerated
based on CIR
If both buckets are empty,
a packet is marked red
Fig. 9.10
Behavior of srTCM (3)
Two Rate Three Color Marker (trTCM)
The trTCM meters an IP packet stream and marks its packet the one among green, yel-
low, and red using Peak Information Rate (PIR) and its associated Peak Burst Size (PBS)
and Committed Information Rate (CIR) and its associated Committed Burst Size (CBS). A
packet is marked red if it exceeds the PIR. Otherwise, it is marked either yellow or green
depending on whether it exceeds or does not exceed CIR. The trTCM is useful for ingress
policing of a service, where a peak rate needs to be enforced separately from a commit-
ted rate.