Page 10 | AlliedWare Plus™ OS: Overview of QoS
Details of the component processes, and how to configure themQoS elements: policy maps, class maps, policers,
matches
Some aspects of QoS are configured globally, such as default mapping of CoS to egress queue.
However, most aspects are configured on a per-port basis, mostly as part of the port’s policy
map.
The policy map contains QoS settings for a port, and is made of class maps—one class map
for each type of traffic you want to control on the port. Class maps have match commands to
specify what traffic the class map applies to, and policers to set the bandwidth parameters for
that type of traffic. Class maps can also have other settings, such as whether to premark
traffic.
The following figure summarises these configuration elements.
The default class map
Packets that do not match any configured class map are matched by the default class map.
These packets can still be subjected to premarking, policing and remarking. To configure
these features for the default class map, simply go into policy map class map mode for the
default class map, by using the following commands:
awplus(config-cmap)#policy-map <name>
awplus(config-pmap)#class default
Port
policy-map
class-map
match
match
policer
class-map
match policer
class-map
match match
qos-elements.eps