beautypg.com

Allied Telesis AT-8100 Series User Manual

Page 1733

background image

AT-8100 Switch Command Line User’s Guide

1733

A twin-rate policier is based on four values:

minimum rate

minimum burst size

maximum rate

maximum burst size

The value of the action parameter greatly effects the outcome of this
command.

The data for the policed-dscp-transmit option is supplied by the MLS QOS
MAP POLICED-DSCP command. For more information, see “MLS QOS
MAP DSCP-QUEUE” on page 1740.

Assigning drop-red as an action means that any packets classed as red
are discarded. Although data is metered per byte, the color-marking
process is applied per packet. As a result, if there are sufficient tokens
available that match a part of a packet, then the entire packet is marked
red. It is important to note that if you assign the action parameter to drop-
red, then these packets are dropped.

The twin rate metering command can be used to create an aggregator
which can be later applied to any number of classes with the POLICE
AGGREGATE command. See “POLICE AGGREGATE” on page 1753.

Use the NO MLS QOS AGGREGATE-POLICE command to remove the
association between an police aggregator and a policy map. See “NO MLS
QOS AGGREGATE-POLICE” on page 1750.

Confirmation Command

“SHOW MLS QOS AGGREGRATE-POLICER” on page 1770

Examples

The following example associates two class maps, “cmaptwin1” and
“cmaptwin2,” to policy map, “pmaptwin1.” An aggregate name,
“policeaggtwin,” is created with the MLS QOS AGGREGATE-POLICE
TWIN-RATE command. In addition, the CIR is set to 20,000 Kbps, the
CBS is set to 30,000 bytes, the PIR is 20000 Kbps and the PBS is set to
50,000 bytes. The action is set to drop red packets:

awplus> enable
awplus# configure terminal
awplus(config)# mls qos enable
awplus(config)# mls qos aggregate-police policeaggtwin twin-
rate 20000 30000 20000 50000 action drop-red
awplus(config)# policy-map pmaptwin1
awplus(config-pmap)# class cmaptwin1
awplus(config-pmap)# police aggregate policeaggtwin