Allied Telesis AlliedWare Plus Switch User Manual


 
Page 6 | AlliedWare Plus™ OS: Overview of QoS
Classification
Classification is simply a method of dividing the incoming traffic into traffic flows so that
packets of one type can be treated differently to packets of another type. To do this, you
create class maps and if desired ACLs. Incoming packets are inspected and may be classified
on a very broad range of criteria.
The classification process does not update any of the four marker values on the packet, but
does dictate the path that the packet will subsequently take through the QoS system.
Premarking
The “pre” part of premarking means this process happens before any bandwidth policing
takes place. The “marking” part refers to attaching QoS information to packets.
One possible use for this is to apply a DSCP value to a traffic stream. For example, packets
coming from a database server could require assured forwarding treatment, and so could be
marked with DSCP=
1
8 at ingress to the switch.
Recall that packets can be marked in four ways:
z the VLAN tag user priority
z the Differentiated Services Code Point (DSCP)
z the bandwidth class the packet is assigned to
z the egress queue the packet is assigned to.
A packet can have new values assigned for each of these marking values by the premarking
process. There are two mutually exclusive methods available for premarking:
z setting the new values explicitly for all packets that match a certain class map, or
z looking up the mark-dscp map and applying the map’s values to the packets. The mark-dscp
map is a user-defined table that maps particular DSCP values to particular sets of 802.
1
p,
DSCP, bandwidth class, and egress queue values. See "Premarking" on page 13 for a table
that shows the mark-dscp map structure.
If premarking uses the mark-dscp map, there are two ways to choose the DSCP value to use
in looking up entries in the mark-dscp map:
z use the existing DSCP value of the packet (different packets within the class map may well
have different DSCP values)
z specify a single DSCP value that QoS will use for look-ups for all packets that match the
class map.
Whichever of these two criteria is used, the value is used to index the mark-dscp map.