User Manual

Table Of Contents
9.2.33 Show aggregate policers
[Syntax]
show aggregate-police [name]
[Parameter]
name : Aggregate policer name. If this is omitted, the command applies to all aggregate policers.
[Input mode]
unprivileged EXEC mode, priviledged EXEC mode
[Description]
Shows the contents of an aggregate policer. The contents shown are the same as in the police section shown by the show class-
map command.
[Note]
In order to execute this command, QoS must be enabled.
[Example]
Show the contents of aggregate policer "AGP-01".
SWP2#show aggregate-police AGP-01
Aggregator-Police Name: AGP-01
Mode: TrTCM
average rate (48 Kbits/sec)
peak rate (96 Kbits/sec)
burst size (12 KBytes)
peak burst size (16 KBytes)
yellow-action (Transmit)
red-action (Drop)
9.2.34 Apply aggregate policer
[Syntax]
police-aggregate name
no police-aggregate name
[Parameter]
name : Aggregate policer to apply
[Input mode]
policy map class mode
[Description]
Specifies an aggregate policer for a traffic class.
If this is executed with the "no" syntax, the aggregate policer settings for the traffic class are removed.
This cannot be used in conjunction with an individual policer (the police single-rate and police twin-rate commands of policy
map class mode).
[Note]
In order to execute this command, QoS must be enabled.
[Example]
Apply aggregate policer "AGP-01" to the two traffic classes "class1" and "class2" of policy map "policy1."
Executing metering by SrTCM with CIR:48kbps, CBS:12kbyte, and EBS:12kbyte
Yellow: rewrite DSCP value to 10, Red: discard
[Create an aggregate policer]
SWP2(config)#aggregate-police AGP-01
SWP2(config-agg-policer)#police single-rate 48 12 12 yellow-action remark red-action
drop
SWP2(config-agg-policer)#remark-map yellow ip-dscp 10
SWP2(config-agg-policer)#exit
[Set policy]
Command Reference | Traffic control | 261