CLI Reference Guide-R04

Table Of Contents
Chapter 24
| Quality of Service Commands
– 655 –
police srtcm-color This command defines an enforcer for classified traffic based on a single rate three
color meter (srTCM). Use the no form to remove a policer.
Syntax
[no] police {srtcm-color-blind | srtcm-color-aware}
committed-rate committed-burst excess-burst
conform-action {transmit | new-dscp}
exceed-action {drop | new-dscp}
violate action {drop | new-dscp}
srtcm-color-blind - Single rate three color meter in color-blind mode.
srtcm-color-aware - Single rate three color meter in color-aware mode.
committed-rate
- Committed information rate (CIR) in kilobits per second.
(Range: 0-10000000 kbps or maximum port speed, whichever is lower)
committed-burst
- Committed burst size (BC) in bytes.
(Range: 4000-16000000 bytes)
excess-burst
- Excess burst size (BE) in bytes. (Range: 4000-16000000 bytes)
conform-action - Action to take when rate is within the CIR and BC. (There
are enough tokens in bucket BC to service the packet, packet is set green).
exceed-action - Action to take when rate exceeds the CIR and BC but is
within the BE. (There are enough tokens in bucket BE to service the packet,
the packet is set yellow.)
violate-action - Action to take when rate exceeds the BE. (There are not
enough tokens in bucket BE to service the packet, the packet is set red.)
transmit - Transmits without taking any action.
drop - Drops packet as required by exceed-action or violate-action.
new-dscp - Differentiated Service Code Point (DSCP) value. (Range: 0-63)
Default Setting
None
Command Mode
Policy Map Class Configuration
Command Usage
You can configure up to 16 policers (i.e., class maps) for ingress ports.
The srTCM as defined in RFC 2697 meters a traffic stream and processes its
packets according to three traffic parameters – Committed Information Rate
(CIR), Committed Burst Size (BC), and Excess Burst Size (BE).
The PHB label is composed of five bits, three bits for per-hop behavior, and two
bits for the color scheme used to control queue congestion. A packet is marked
green if it doesn't exceed the CIR and BC, yellow if it does exceed the CIR and
BC, but not the BE, and red otherwise.