- Allied Telesis, Inc Switches Owner's Manual

Page 5 | AlliedWareā„¢ OS How To Note: QoS configuration
1
. Setting the egress rate
Example
1
-4: Setting the maximum bandwidth limit for each IP subnet
This example is very similar to example
1
-3, except that it is assumed that a whole subnet is
attached to each port, not just a single device on each port.
This set of commands will set the total egress limit (download traffic) for each subnet to
256kbps. The granularity is around
1
kbps.
create class=1 ipda=192.168.1.0/24
create class=2 ipda=192.168.2.0/24
create class=3 ipda=192.168.3.0/24
...
create qos flow=1
add qos flow=1 class=1
create qos traf=1
add qos traf=1 flow=1
set qos traf=1 maxbandw=256kbps maxburst=5kbyte dropbw=yes
create qos flow=2
add qos flow=2 class=2
create qos traf=2
add qos traf=2 flow=2
set qos traf=2 maxbandw=256kbps maxburst=5kbyte dropbw=yes
create qos flow=3
add qos flow=3 class=3
create qos traf=3
add qos traf=3 flow=3
set qos traf=3 maxbandw=256kbps maxburst=5kbyte dropbw=yes
...
create qos poli=1
add qos poli=1 traff=1-23
set qos port=24 poli=1
Port 24
Internet
connection
Users connected to the switch downloading files from the Internet
(192.168.1.0/24 - 192.168.23.0/24)