- Allied Telesis, Inc Switches Owner's Manual

Page 19 | AlliedWareā„¢ OS How To Note: QoS configuration
Full QoS scenario 2: bandwidth limiting of multiple customers
The configuration required to impose these bandwidth limits would be:
Limiting the outgoing traffic:
create qos policy=1 dtcdropbwclass3=yes dtcmaxbandwidth=1Mbps
dtcmaxburst=10Kb
create qos policy=2 dtcdropbwclass3=yes dtcmaxbandwidth=10Mbps
dtcmaxburst=10Kb
create qos policy=3 dtcdropbwclass3=yes dtcmaxbandwidth=15Mbps
dtcmaxburst=10Kb
create qos policy=4 dtcdropbwclass3=yes dtcmaxbandwidth=5Mbps
dtcmaxburst=10Kb
create qos policy=5 dtcdropbwclass3=yes dtcmaxbandwidth=2Mbps
dtcmaxburst=10Kb
set qos port=1 poli=1
set qos port=2 poli=2
set qos port=3 poli=3
set qos port=4 poli=4
set qos port=5 poli=5
Limiting the incoming traffic:
create class=6 ipda=212.12.12.1
create class=7 ipda=212.12.12.2
create class=8 ipda=212.12.12.3
create class=9 ipda=212.12.12.4
create class=10 ipda=212.12.12.5
create qos flow=6
add qos flow=6 class=6
create qos flow=7
add qos flow=7 class=7
create qos flow=8
add qos flow=8 class=8
create qos flow=9
add qos flow=9 class=9
create qos flow=10
add qos flow=10 class=10
create qos traff=6
set qos traff=6 maxband=1Mbps maxburst=10Kb dropbwc=yes
add qos traff=6 flow=6
create qos traff=7
set qos traff=7 maxband=10Mbps maxburst=10Kb dropbwc=yes
add qos traff=7 flow=7
create qos traff=8
set qos traff=8 maxband=15Mbps maxburst=10Kb dropbwc=yes
add qos traff=8 flow=8