beautypg.com

Creating an aggregate policer 4, Creating an aggregate policer – Allied Telesis AT-FS970M Series User Manual

Page 1644

background image

Chapter 98: Quality of Service (QoS)

1644

Creating an Aggregate Policer

An aggregate policer is a named policer with an aggregate name that you
can assign to multiple policy maps. You can create either a single-rate or
twin-rate aggregate policer in the Policy Map Configuration mode. There
are three commands that allow you to set the aggregator policer. See
Table 213.

For more information about these commands, see:

“MLS QOS AGGREGATE-POLICE SINGLE-RATE” on page 1625.

“MLS QOS AGGREGATE-POLICE TWIN-RATE” on page 1628

“POLICE AGGREGATE” on page 1649

In the following example, a single-rate aggregate policer, “policyagg1,” is
created with the MLS QOS AGGREGATE-POLICE SINGLE-RATE
command. Within this command, the CIR is 125 Kbps, the CBS is 30,000
bytes, and the EBS is 60,000 bytes. The action is set to policed-dscp-
transmit which modifies packets using the policed-dscp map and then
sends the packets. Then the aggregate policer name is associated with
class maps “cmap1” and “cmap2” with the POLICE AGGREGATE
command:

Table 213. Aggregate Policer Commands

To Do this Task

Use this Command

Configures a single-rate policer for a class-
map and create a police aggregator.

mls qos aggregate-police
single-rate

action

[drop-red|policed-dscp-transmit]

Configures a twin-rate policer for a class-
map.

mls qos aggregate-police
twin-rate <

cir>

action

[drop-red|policed-dscp-

transmit]

Associates an aggregate name with a class
map.

police aggregate

name

Table 214. Creating a Police Aggregator

Command

Description

awplus> enable

Enters the Privileged Executive mode from the
User Executive mode.

awplus# configure terminal

Enters the Global Configuration mode.

awplus(config)# mls qos enable

Activates the QoS feature on the switch.