Syntax
police-simple {datarate burstsize conform-action {drop | set-prec-transmit
cos | set-dscp-transmit dscpval | transmit} [violate-action {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 Kbytes (Range: 1–128)
•
conform action — Configures the action taken for packets that do not
exceed the data rate or the burst size:
–
drop: Drop the packet.
–
sec-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.1p-priority: Remark the 802.1p priority in the
–
packet to 802.1p-priority and transmit. (Range 0-7)
–
transmit: Transmit the packet unmodified.
The same actions are available for packets that violate the policing rule.
–
violate- action — Configures the action taken for packets that exceed
the data rate or burst size.
•
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
Layer 2 Switching Commands
697