QoS Commands 677
Example
The following example displays how to copy all the data to port 1/0/5.
console(config-policy-classmap)#mirror 1/0/5
police-simple
Use the police-simple command in Policy-Class-Map Configuration mode to
establish the traffic policing style for the specified class. The simple form of
the police command uses a single data rate and burst size, resulting in two
outcomes: conform and nonconform.
Syntax
police-simple {

datarate

burstsize

conform-action {drop | set-prectransmit
cos
| set-dscp-transmit

dscpval

| transmit} [violateaction {drop | set-cos-
transmit
cos
| set-prec-transmit
cos
| set-dscp-transmit

dscpval

| transmit}]}

datarate

— Data rate in kilobits per second (kbps). (Range:
1–4294967295)

burstsize

— Burst size in Kbps (Range: 1–128)
conform action
— Indicates what happens when the packet is conforming
to the policing rule: it could be dropped, it could have its COS modified, it
could have its IP precedence modified, or it could have its DSCP
modified. The same actions are available for packets that do not conform
to the policing rule.
cos
— Class of Service value. (Range: 0–7)
dscpval — DSCP value. (Range: 0–63 or a keyword from this list,
af11
,
af12
,
af13
,
af21
,
af22
,
af23
,
af31
,
af32
,
af33
,
af41
,
af42
,
af43
,
be
,
cs0
,
cs1
,
cs2
,
cs3
,
cs4
,
cs5
,
cs6
,
cs7
,
ef
)
Default Configuration
This command has no default configuration.
Command Mode
Policy-Class-Map Configuration mode
2CSPC4.XCT-SWUM2XX1.book Page 677 Monday, October 3, 2011 11:05 AM