Page 22 | AlliedWare Plus™ OS: Overview of QoS
Remarking Remarking happens after the traffic has been policed. It sets the packet’s QoS markers
depending on how well the flow conforms to its bandwidth limits.
Remarking is performed by looking up the policed-dscp map and assigning values to the four
markers (802.
1
p, DSCP, egress queue, and bandwidth class). The policed-dscp map is similar
to the premarking mark-dscp map, except that the new values can also depend on the
temporary bandwidth class from the policing stage. The following table shows the map
structure.
To add values to the policed-dscp map, enter the command:
awplus(config)#mls qos map policed-dscp <0-63> [bandwidth-class {green|
yellow|red}] to [new-dscp <0-63>] [new-cos <0-7>] [new-queue <0-7>]
[new-bandwidth-class {green|yellow|red}]
To set QoS to remark values, specify an exceed action of policed-dscp-transmit in the
policer. Do this by entering one of the commands:
awplus(config-pmap-c)#police single-rate <average-bandwidth>
<minimum-burstsize> <maximum-burstsize>
exceed-action policed-dscp-transmit
awplus(config-pmap-c)#police twin-rate <minimum-bandwidth>
<maximum-bandwidth> <minimum-burstsize> <maximum-burstsize>
exceed-action policed-dscp-transmit
Although the keyword is named exceed-action, setting it to policed-dscp-transmit
makes QoS remark all matching traffic, not just excessive traffic.
Green Yel l ow Red
0802.
1
p = ...
new-dscp = ...
new-bandwidth-class = ...
new-queue = ...
802.
1
p = ...
new-dscp = ...
new-bandwidth-class = ...
new-queue = ...
802.
1
p = ...
new-dscp = ...
new-bandwidth-class = ...
new-queue = ...
1
802.
1
p = ...
new-dscp = ...
new-bandwidth-class = ...
new-queue = ...
802.
1
p = ...
new-dscp = ...
new-bandwidth-class = ...
new-queue = ...
802.
1
p = ...
new-dscp = ...
new-bandwidth-class = ...
new-queue = ...
2802.
1
p = ...
new-dscp = ...
new-bandwidth-class = ...
new-queue = ...
802.
1
p = ...
new-dscp = ...
new-bandwidth-class = ...
new-queue = ...
802.
1
p = ...
new-dscp = ...
new-bandwidth-class = ...
new-queue = ...
.
.
.
63 802.
1
p = ...
new-dscp = ...
new-bandwidth-class = ...
new-queue = ...
802.
1
p = ...
new-dscp = ...
new-bandwidth-class = ...
new-queue = ...
802.
1
p = ...
new-dscp = ...
new-bandwidth-class = ...
new-queue = ...
Bandwidth class
DSCP