Allied Telesis x900-12 Посібник з налаштування програмного забезпечення - Сторінка 4

Переглянути онлайн або завантажити pdf Посібник з налаштування програмного забезпечення для Перемикач Allied Telesis x900-12. Allied Telesis x900-12 16 сторінок. Alliedware plus os

Allied Telesis x900-12 Посібник з налаштування програмного забезпечення
Example 1-3: Setting the maximum bandwidth limit for each user
In example 1-1, we configured an egress rate on ports. But the granularity of that bandwidth limiting
was multiples of 651kbps. It is possible to achieve finer-grained limiting using the devices advanced
QoS capability. In this example we assume that there is one device with a known IP address,
attached to each port. Policers will be configured to provide bandwidth limiting.
Users connected to the switch downloading files from the Internet
mls qos enable
access-list 3011 permit ip any 192.168.1.1/32
access-list 3012 permit ip any 192.168.1.2/32
access-list 3013 permit ip any 192.168.1.3/32
.
.
.
class-map cmap1
match access-group 3011
class-map cmap2
match access-group 3012
class-map cmap3
match access-group 3013
.
.
.
policy-map pmap1
class cmap1
police single-rate 256 3000 5000 exceed-action drop
class cmap2
police single-rate 256 3000 5000 exceed-action drop
class cmap3
police single-rate 256 3000 5000 exceed-action drop
.
.
.
interface port1.0.24
service-policy input pmap1
This set of commands will set the total egress limit (download traffic) for each user to 256kbps. The
granularity is around 1kbps.
Page 4 | AlliedWare Plus™ OS How To Note: QoS
(192.168.1.1-192.168.1.25)
Port 24
Internet
connection
1. Setting the egress rate