User Manual

Table Of Contents
[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".
SWR2310#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.
Metering cannot be performed on the following logical interfaces. A policy map that includes metering (policer) settings
(police-type commands) must not be applied.
Logical interfaces that are grouped across member switches constituting a stack
[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]
SWR2310(config)#aggregate-police AGP-01
SWR2310(config-agg-policer)#police single-rate 48 12 12 yellow-action remark red-
action drop
SWR2310(config-agg-policer)#remark-map yellow ip-dscp 10
SWR2310(config-agg-policer)#exit
[Set policy]
SWR2310(config)#policy-map policy1
SWR2310(config-pmap)#class class1
SWR2310(config-pmap-c)#police-aggregate AGP-01
SWR2310(config-pmap-c)#exit
SWR2310(config-pmap)#class class2
SWR2310(config-pmap-c)#police-aggregate AGP-01
SWR2310(config-pmap-c)#exit
SWR2310(config-pmap)#exit
302 | Command Reference | Traffic control