- Allied Telesis, Inc Switches Owner's Manual

Page 8 | AlliedWareā„¢ OS How To Note: QoS configuration
2. Setting the priority on a packet
Example 2-2: Setting the Layer 2 (VLAN/802.
1
p) priority per VLAN
This set of commands will set the Layer 2 priority of VLAN2, VLAN3 and VLAN4 traffics
packets, received on ports
1
to 20, to 6, 5 and 4 respectively.
create class=1 vlan=2
create class=2 vlan=3
create class=3 vlan=4
create qos flow=1
add qos flow=1 class=1
create qos flow=2
add qos flow=2 class=2
create qos flow=3
add qos flow=3 class=3
create qos traff=1
add qos traff=1 flow=1
set qos traff=1 mark=11 premarking=usemark
set qos dscpmap=premarking dscp=11 newpriority=6
create qos traff=2
add qos traff=2 flow=2
set qos traff=2 mark=12 premarking=usemark
set qos dscpmap=premarking dscp=12 newpriority=5
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 newpriority=4
create qos poli=1
add qos poli=1 traff=1,2,3
set qos port=1-20 poli=1
Port 24
Ingress ports 1-20 (these ports MAY be carrying a mixture of VLAN2,
VLAN3, and VLAN4 packets either with or without VLAN tags)