Allied Telesis AT-FS970M Series User Manual
Page 1709

AT-FS970M Switch Command Line User’s Guide
1709
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