Allied Telesis AT-8100 Series User Manual
Page 1730
Chapter 101: QoS Commands
1730
This type of policer can meter the traffic classified by the class map, and
as a result, is given a red bandwidth class for non-conforming traffic. A
single-rate aggregate policer is based on the average rate, minimum
burst, and maximum burst. Non-conforming traffic exceeds the average
rate and the maximum burst.
The setting of the action parameter greatly affects the outcome of this
command. Assigning drop-red as an action means that any packets
classified 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.
Assigning policed-dscp-transmit as the action modifies the packets using
the policed DSCP map and then sends the packets. The data for the
policed-dscp-transmit option is set with the MLS QOS MAP POLICED-
DSCP command. Before you can select the policed-dscp-transmit option,
you must configure the MLS QOS MAP POLICED-DSCP command. See
“MLS QOS MAP POLICED-DSCP” on page 1742.
The MLS QOS AGGREGATE-POLICE SINGLE-RATE command is very
similar to the POLICE SINGLE-RATE ACTION command. However, the
POLICE SINGLE-RATE ACTION command does not permit you to create
a police aggregate. See “POLICE SINGLE-RATE ACTION” on page 1755.
Use the NO MLS QOS AGGREGATE-POLICE command to remove the
aggregator policer configuration. 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, “cmap1” and “cmap2,”
to policy map, “pmap1.” An aggregate policer name, “policeagg1,” is
created with the MLS QOS AGGREGATE-POLICE SINGLE-RATE
command. In addition, the CIR is set to 125 Kbps, the CBS is set to 20,000
bytes, and the EBS is set to 30,000 bytes. The action is set to policed-
dscp-transmit which modifies packets using the policed DSCP map and
then sends the packets:
awplus> enable
awplus# configure terminal
awplus(config)# mls qos enable
awplus(config)# mls qos aggregate-police policeagg1 single-
rate 125 20000 30000 action policed-dscp-transmit
awplus(config)# policy-map pmap1
awplus(config-pmap)# class cmap1