beautypg.com

Allied Telesis AT-8100 Series User Manual

Page 1731

background image

AT-8100 Switch Command Line User’s Guide

1731

awplus(config-pmap)# police aggregate policeagg1
awplus(config-pmap-c)# exit
awplus(config-pmap)# class cmap2
awplus(config-pmap)# police aggregate policeagg1
awplus(config-pmap)# exit
awplus(config)# exit

The following example associates two class maps, “cmap1” and “cmap2,”
to policy map, “pmap1.” An aggregate name, “policeagg5,” is created with
the MLS QOS AGGREGATE-POLICE SINGLE-RATE command. In
addition, the CIR is set to 1000 Kbps, the CBS is set to 12,000 bytes, and
the EBS is set to 16,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 policeagg5 single-
rate 1000 12000 16000 action drop-red
awplus(config)# policy-map pmap1
awplus(config-pmap)# class cmap1
awplus(config-pmap)# police aggregate policeagg5
awplus(config-pmap-c)# exit
awplus(config-pmap)# class cmap2
awplus(config-pmap)# police aggregate policeagg5
awplus(config-pmap-c)# exit
awplus(config-pmap)# exit