Page 36 | AlliedWare Plus™ OS: Overview of QoS
Use the following commands to configure this policing scenario:
mls qos enable
mls qos aggregate-police pol1 twin-rate 1000 4000 256000 1000000
exceed-action drop
mls qos aggregate-police pol2 single-rate 3000 750000 1000000
exceed-action drop
class-map cm1
match access-group 3008
class-map cm2
match access-group 3009
policy-map pm1
class cm1
police aggregate pol1
class cm2
police aggregate pol1
policy-map pm2
class cm1
police aggregate pol2
class cm2
police aggregate pol2
interface port1.0.1
service-policy input pm1
interface port1.0.2
service-policy input pm2
The web and gaming traffic are identified by ACLs (which could match on the
destinationaddresses of the servers).
We used the same class maps on each port in this example. This works because the ports
use different aggregate policers. If you used the same policer on multiple ports, you would
have to use different class maps, or else the policer would aggregate the traffic across your
ports.