- ページ 3

スイッチ Allied Telesis x900-12のPDF ソフトウェア設定マニュアルをオンラインで閲覧またはダウンロードできます。Allied Telesis x900-12 16 ページ。 Alliedware plus os

Allied Telesis x900-12 ソフトウェア設定マニュアル
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