Police trtcm-color – LevelOne GTL-2691 User Manual
Page 1179

C
HAPTER
41
| Quality of Service Commands
– 1179 –
police trtcm-color
This command defines an enforcer for classified traffic based on a two rate
three color meter (trTCM). Use the no form to remove a policer.
S
YNTAX
[no] police {trtcm-color-blind | trtcm-color-aware}
committed-rate committed-burst peak-rate peak-burst
exceed-action {drop | new-dscp}
violate action {drop | new-dscp}
trtcm-color-blind - Two rate three color meter in color-blind
mode.
trtcm-color-aware - Two rate three color meter in color-aware
mode.
committed-rate - Committed information rate (CIR) in kilobits per
second. (Range: 1-1000000 kbps or maximum port speed,
whichever is lower)
committed-burst - Committed burst size (BC) in bytes.
(Range: 64-524288 bytes)
peak-rate - Peak information rate (PIR) in kilobits per second.
(Range: 1-1000000 kbps or maximum port speed, whichever is
lower)
peak-burst - Burst size (BP) in bytes.
(Range: 64-524288 bytes)
exceed-action - Action to take when rate exceeds the CIR but is
within the PIR. (Packet size exceeds BC but there are enough
tokens in bucket BP to service the packet, the packet is set yellow.)
violate-action - Action to take when rate exceeds the PIR. (There
are not enough tokens in bucket BP to service the packet, the
packet is set red.)
drop - Drops packet as required by exceed-action or violate-action.
new-dscp - Differentiated Service Code Point (DSCP) value.
(Range: 0-63)
D
EFAULT
S
ETTING
None
C
OMMAND
M
ODE
Policy Map Class Configuration
C
OMMAND
U
SAGE
◆
You can configure up to 16 policers (i.e., class maps) for ingress ports.
◆
The committed-rate and peak-rate cannot exceed the configured
interface speed, and the committed-burst and peak-burst cannot
exceed 16 Mbytes.
◆
The trTCM as defined in RFC 2698 meters a traffic stream and
processes its packets based on two rates – Committed Information