Administrator Guide

Layer 2 Switching Commands 720
action
— The action to take according to the color. Select one of:
drop— Drop the packet.
set-prec-transmit
ip-prec
— Remark the IP precedence in the packet to
ip-prec
and transmit. (Range 0-7)
set-dscp-transmit
dscp-val
— Remark the DSCP in the packet to
dscp-
val
and transmit. (Range 0-63)
set-cos-transmit
802.1
p-priority
— Remark the 802.1p priority in the
packet to
802.1p-priority
and transmit. (Range 0-7)
transmit— Transmit the packet unmodified.
Default Configuration
This command has no default configuration.
Command Mode
Policy-Class-Map Configuration mode
User Guidelines
A trTCM meters a traffic stream and colors packets according to four
parameters:
Committed Information Rate (CIR)
Committed Burst Size (CBS)
Peak Information Rate (PIR)
Peak Burst Size (PBS)
A packet is colored red if it exceeds the PIR, yellow if it exceeds the CIR, and
green if it does not exceed either. A trTCM is useful when a peak rate needs to
be enforced separately from a committed rate.
The CIR and PIR are measured in Kbps (not pps as indicated in the RFC),
the CBS in Kbytes, and the PBS in Kbytes. It is recommended that the CBS
and PBS be configured to be larger than the largest expected IP packet. A
class command in policy-map mode must be issued for an existing class-map
before entering this command.
2CSNXXX_SWUM204.book Page 720 Monday, January 25, 2016 1:25 PM