- Allied Telesis, Inc Switches Owner's Manual
Page 12 | AlliedWare⢠OS How To Note: QoS configuration
3. Setting the egress queues
Example 3-3: Configuring WRR for egress queues
This example is used for configuring WRR on egress queues according to the ingress port of
the traffic.
This set of commands will set the egress queue of any traffic received from port
1
to egress
queue 6, from port 2 to egress queue 5 and from port 3 to egress queue 4. And on egress,
the WRR algorithm will do the following: for every 4 packets from queue 6, 2 packets will
leave queue 5 and
1
packet will leave queue 4.
create class=1
create qos flow=1
add qos flow=1 class=1
create qos traff=1
add qos traff=1 flow=1
set qos traff=1 mark=11 premarking=usemark
set qos dscpmap=premarking dscp=11 newqueue=6
create qos poli=1
add qos poli=1 traff=1
set qos port=1 poli=1
create qos flow=2
add qos flow=2 class=1
create qos traff=2
add qos traff=2 flow=2
set qos traff=2 mark=12 premarking=usemark
set qos dscpmap=premarking dscp=12 newqueue=5
create qos poli=2
add qos poli=2 traff=2
set qos port=2 poli=2
create qos flow=3
add qos flow=3 class=1
create qos traff=3
add qos traff=3 flow=3 remarking=priority
set qos traff=3 mark=13 premarking=usemark
set qos dscpmap=premarking dscp=13 newqueue=4
create qos poli=3
add qos poli=3 traff=3
set qos port=3 poli=3
set qos port=24 egressque=6 schedu=wrr1 wrrweight=24
set qos port=24 egressque=5 schedu=wrr1 wrrweight=12
set qos port=24 egressque=4 schedu=wrr1 wrrweight=6
Port 24
Ingress ports 1-3 (these ports MAY be carrying a mixture of packets
from different VLAN packets either with or without VLAN tags)