Chapter 21: QoS Configuration Guide

Traffic from two interfaces, ‘ipclient1’ with IP address 1.2.2.2 and ‘ipclient2’ with IP address 3.1.1.1, is restricted to 10 Mbps for each flow with the following configuration:

vlan create client1 ip vlan create backbone ip vlan create client2 ip

vlan add ports et.1.1 to client1 vlan add ports et.1.2 to client2 vlan add ports et.1.8 to backbone

interface create ip ipclient1 vlan client1 address-netmask 1.1.1.1/8 interface create ip ipclient2 vlan client2 address-netmask 3.3.3.3/8 interface create ip backbone vlan backbone address-netmask 2.2.2.2/8 acl 100 permit ip 1.2.2.2

acl 200 permit ip 3.1.1.1

rate-limit client1 input acl 100 rate-limit 10000000 exceed-action drop-packets rate-limit client2 input acl 200 rate-limit 10000000 exceed-action drop-packets rate-limit client1 apply interface ipclient1

rate-limit client2 apply interface ipclient2

Aggregate Rate Limiting

In the following example, incoming FTP and HTTP traffic to the subnetwork 122.132.0.0/16 will be rate limited to 4 Mbps and 2 Mbps, respectively.

system enable aggregate-rate-limiting

interface create ip engintf address-netmask 122.132.10.23/16 port et.1.6

acl engftp permit ip 122.132.0.0/16 any any 20

rate-limit engftp aggregate acl engftp rate 4000000 drop-packets

acl enghttp permit ip 122.132.0.0/16 any any 80

rate-limit enghttp aggregate acl enghttp rate 2000000 drop-packets

rate-limit engftp apply interface engintf rate-limit enghttp apply interface engintf

In the above example, the first configuration command is needed to enable aggregate rate limiting mode on the SSR (per-flow is the default rate limiting mode).

SmartSwitch Router User Reference Manual

307

Page 333
Image 333
Cabletron Systems 9032578-05 manual Aggregate Rate Limiting