3 per-flow rate limiting service, Per-flow rate limiting service -5 – Riverstone Networks WICT1-12 User Manual

Page 709

Advertising
background image

Riverstone Networks RS Switch Router User Guide Release 8.0 31-5

Service Configuration

Creating a Service

Here is an example:

31.2.3

Per-Flow Rate Limiting Service

Per-flow rate limiting is enabled on the RS by default. If aggregate rate limiting is enabled on a particular line card,
per-flow rate limiting policies can not be applied to ports on that line card.

To create a per-flow rate limiting service, use the following command:

Here is an example:

! Create a flow-aggregate service, limiting an aggregate flow to 10 million bps, drops packets if the rate is exceeded
! and distributed across 10 flows

rs(config)# service testaggregate create rate-limit flow-aggregate rate 10000000

exceed-action drop-packets distribute-among 10

Create a per-flow
rate limiting service.

service

<name>

create

rate-limit

per-flow

rate

<rate> [

exceed-action

<

drop-packets

|

set-priority-low

|

set-priority-medium

|

set-priority-high

> |

time-select

<num>]

! Create a per flow service, limiting one flow to 1 million bps and drops packets if the rate is exceeded

rs(config)# service user1flow create rate-limit per-flow rate 1000000 exceed-action

drop-packets

Advertising