User Manual

13.2.37 Set aggregate policer (single rate)
[Syntax]
police [
single-rate] CIR CBS EBS yellow-action action red-action action
no police
[Keyword]
single-rate : Use single-rate policer
[Parameter]
CIR : <1 - 102300000>
Traffic rate (kbps)
CBS : <11 - 2097120>
Burst size of conformant token bucket (kbyte)
EBS : <11 - 2097120>
Burst size of excess token bucket (kbyte)
action : Operation for packets categorized by bandwidth class
Setting value Operation
transmit Forward
drop Discard
remark Remarking (CoS/TOS/DSCP)
[Input mode]
aggregate policer mode
[Description]
Specifies a single rate policer as an aggregate policer.
If this is executed with the "no" syntax, metering/policing/remarking processing is deleted.
Metering on the SWP1 is implemented as a single-rate three-color marker (RFC2697), and the following processing can be
specified for the categorized bandwidth classes.
Green : Only forward (cannot be specified)
Yellow : Choose forward, discard, or remark
Red : Choose discard or remark
However, remarking can be specified for either Yellow or Red, not both.
Detailed remarking settings are made using the remark-map command (aggregate policer mode). Regardless of whether action
is set to "remark," remarking is disabled if there are no detailed remarking settings for that bandwidth class. In this case, the
default settings (Yellow: forward, Red: discard) are applied.
[Note]
In order to execute this command, QoS must be enabled.
[Example]
Create an aggregate policer "AGP-01".
Executing metering by SrTCM with CIR:48kbps, CBS:12kbyte, and EBS:12kbyte
Yellow: rewrite DSCP value to 10, Red: discard
[Aggregate policer creating]
SWP1(config)#aggregate-police AGP-01
SWP1(config-agg-policer)#police single-rate 48 12 12 yellow-action remark red-action
drop
SWP1(config-agg-policer)#remark-map yellow ip-dscp 10
SWP1(config-agg-policer)#exit
13.2.38 Set aggregate policer (twin rate)
[Syntax]
police twin-rate CIR PIR CBS PBS yellow-action action red-action action
206 | Command Reference | Traffic control