Users Guide

Layer 2 Switching Commands 714
set-dscp-transmit dscp-val: Remark the DSCP in the packet to dscp-
val and transmit. (Range 0-63)
set-cos-transmit 802.1p-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
There no default configuration for this command.
Command Modes
Policy-Class-Map Configuration mode
User Guidelines
An srTCM meters a traffic stream and colors packets according to three
parameters: Committed Information Rate (CIR), Committed Burst Size
(CBS), and Peak Burst Size (PBS). A packet is colored red if it exceeds the
CBS and the PBS, yellow if it exceeds the CBS, but not the PBS, and green if
it exceeds neither. An srTCM is useful in situations where only the length of
the burst, but not the peak rate, determines the service assignment.
The CIR is measured in Kbps, 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.
Example
console(config-policy-classmap)#police-single-rate 100000000 32 64 conform-
action set-cos-transmit 7 exceed-action set-prec-transmit 7 violate-action
drop
police-two-rate
Use the police-two-rate command to implement a two-rate Three Color
Market (trTCM) per RFC 2698.
NOTE: This command is not available on the N1500 Series switches.