Users Guide

Table Of Contents
Layer 2 Switching Commands 782
Data rate expressed as rate-percent self-adjusts to the speed the links comes up.
For example, if the rate-percent is configured as 10%, the rate is 100 Mb/s if the
link comes up with 1G speed and its 1000 Mb/s if the link negotiates and comes
up with 10G speed.
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
Command History
Command syntax updated in version 6.7.0 firmware.
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.
Syntax
police-two-rate {
rate-kbps
|
rate-percent
}
burstsize peak-data-rate excess-
burstsize
conform-action
action
exceed-action
action
violate-action
action
rate-kbps
— Data rate in kilobits per second (Kbps). (Range: 1 to
4294967295)
rate-percent
— Data rate expressed as percentage of the supported
maximum rate on the link (Range: 1 to 100).
burstsize
— Burst size in Kbytes (Range: 1–128)
peak-data-rate
— Peak data rate in kilobits per second (Kbps). (Range 1-
4294967295)
excess-burstsize
Excess burst size in kilobits per seconds (Kbps). (Range
1-128)
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)