Apply Aggregate Policer - Yamaha L2 Command Reference Manual

Intelligent l2 poe swr2311p-10g
Table of Contents

Advertisement

250 | Command Reference | Traffic control
[Parameter]
name
[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".
SWR2311P#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
[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]
SWR2311P(config)#aggregate-police AGP-01
SWR2311P(config-agg-policer)#police single-rate 48 12 12 yellow-action remark red-
action drop
SWR2311P(config-agg-policer)#remark-map yellow ip-dscp 10
SWR2311P(config-agg-policer)#exit
[Set policy]
SWR2311P(config)#policy-map policy1
SWR2311P(config-pmap)#class class1
SWR2311P(config-pmap-c)#police-aggregate AGP-01
SWR2311P(config-pmap-c)#exit
SWR2311P(config-pmap)#class class2
SWR2311P(config-pmap-c)#police-aggregate AGP-01
SWR2311P(config-pmap-c)#exit
:
Aggregate policer name. If this is omitted, the command applies to all aggregate policers.
:
Aggregate policer to apply

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents