Allied Telesis x900-12 소프트웨어 구성 매뉴얼 - 페이지 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