Allied Telesis x900-24 series Руководство по настройке программного обеспечения - Страница 3
Просмотреть онлайн или скачать pdf Руководство по настройке программного обеспечения для Переключатель Allied Telesis x900-24 series. Allied Telesis x900-24 series 16 страниц. Alliedware plus os
Также для Allied Telesis x900-24 series: Функциональное руководство (18 страниц)
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.
mls qos enable
class-map cmap1
policy-map pmap1
class cmap1
police single-rate 128 3000 5000 exceed-action drop
policy-map pmap2
class cmap1
police single-rate 256 3000 5000 exceed-action drop
policy-map pmap3
class cmap1
police single-rate 64 3000 5000 exceed-action drop
.
.
.
policy-map pmap20
class cmap1
police single-rate 512 3000 5000 exceed-action drop
interface port1.0.1
service-policy input pmap1
interface port1.0.2
service-policy input pmap2
interface port1.0.3
service-policy input pmap3
.
.
.
interface port1.0.20
service-policy input pmap20
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 the class-map matches EVERY packet. The granularity of the rate
limiting is around 1 kbps.
Page 3 | AlliedWare Plus™ OS How To Note: QoS
Ingress ports 1-20
Port 24
1. Setting the egress rate