Allied Telesis AlliedWare Plus Switch User Manual


 
Page 30 | AlliedWare Plus™ OS: Overview of QoS
Policing Examples
Policing is the process of counting the number of packets that the switch processes and
determining their level of conformance with their bandwidth limits. The AlliedWare Plus OS
enables you to police ports and different types of traffic separately (with “ordinary” policers)
or in combination (with aggregate policers).
This section describes a number of different policing scenarios.
1
: Policing separate traffic types on separate ports
In this scenario, various types of traffic are separately policed on one or more ports. On each
port, the policer separately counts packets that match each class map.
This scenario uses ordinary policers.
Use this type of scenario when you need to police according to traffic type and user.
For example, this scenario would let a company limit the total bandwidth used by employees
on streaming video and web browsing, to ensure that VoIP and critical database applications
could always function. This scenario would also prevent one employee from using all the
available bandwidth for the restricted traffic types.
The following figure shows this scenario.
policy-map
port
port
port
policer 2
match
match
class-map 2
ACL
match
match
policer 1
class-map 1
match <parameter>
match access-group
class <map-name>
class <map-name>
service-policy input <policy-name>
police single-rate or
police twin-rate
policer-1.eps