- Allied Telesis, Inc Switches Owner's Manual

Page 3 | AlliedWareā„¢ OS How To Note: QoS configuration
1
. Setting the egress rate
Example
1
-2: setting the maximum bandwidth limit per ingress port
Ingress rate limiting cannot be configured on the port per se, but is achieved by creating a
QoS policy with a bandwidth limited traffic class, and applying that policy to each port.
This set of commands will set the ingress rate of traffic received per port from ports
1
to 20
to various different values. Note that classifier=
1
matches every packet. The granularity of
the rate limiting is around
1
kbps.
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 maxbandwidth=128kbps maxburst=5kbyte dropbw=yes
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 maxbandwidth=256kbps maxburst=5kbyte dropbw=yes
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 maxbandwidth=64kbps maxburst=5kbyte dropbw=yes
create qos poli=3
add qos poli=3 traff=3
set qos port=3 poli=3
...
Port 24
Ingress ports 1-20