1. Setting the egress rate
Example
This example is very similar to example
Port 24
Internet connection
Users connected to the switch downloading files from the Internet
(192.168.1.0/24 - 192.168.23.0/24)
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 |
set qos port=24 poli=1
This set of commands will set the total egress limit (download traffic) for each subnet to 256kbps. The granularity is around 1kbps.