- Allied Telesis, Inc Switches Owner's Manual

Page 7 | AlliedWareā„¢ OS How To Note: QoS configuration
2. Setting the priority on a packet
2. Setting the priority on a packet
Example 2-
1
: Setting the Layer 2 (VLAN/802.
1
p) priority per ingress port
Here we assign different 802.
1
p values to packets arriving on different ports.
These values are also known as the Layer 2 (L2) or VLAN priority.
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 newpriority=6
create qos poli=1
add qos poli=1 traff=1
set qos port=1 poli=1
create class=2
create qos flow=2
add qos flow=2 class=2
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 poli=2
add qos poli=2 traff=2
set qos port=2 poli=2
create class=3
create qos flow=3
add qos flow=3 class=3
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=3
add qos poli=3 traff=3
set qos port=3 poli=3
...
Port 24
Ingress ports 1-20 (these ports MAY be carrying a mixture of
packets from different VLAN packets, either with or without VLAN tags)