beautypg.com

Allied Telesis AT-8100 Series User Manual

Page 1756

background image

Chapter 101: QoS Commands

1756

POLICED-DSCP command. See “MLS QOS MAP POLICED-DSCP” on
page 1742.

Although data are metered per byte, 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.

To remove the association between a single-rate policer and a class map,
use the NO POLICE command. See “NO POLICE AGGREGATE” on
page 1752.

Examples

This example configures a single-rate policer requiring traffic to conform to
a CIR of 10,000 Kbps with a CBS of 15,000 bytes that drops traffic
bursting over 25,000 bytes:

awplus> enable
awplus# configure terminal
awplus(config)# policy-map pmap2
awplus(config-pmap)# class classname
awplus(config-pmap-c)# police single-rate 10000 15000 25000
action drop-red

This example configures a single-rate policer requiring traffic to conform to
a CIR of 9000 Kbps, a CBS of 11,500 bytes and an EBS of 35,000 bytes,
and then sends the packets. Non-conforming traffic is re-marked
according to the action specified by the policed DSCP map:

awplus> enable
awplus# configure terminal
awplus(config)# policy-map pmap2
awplus(config-pmap)# class cmap1
awplus(config-pmap-c)# police single-rate 9000 11500 35000
action policed-dscp-transmit