Riverstone Networks WICT1-12 Network Router User Manual


 
31-6 Riverstone Networks RS Switch Router User Guide Release 8.0
Applying a Service Service Configuration
31.2.4 Burst-Safe Rate Limiting Service
This command creates a burst-safe type rate limiting. Burst-safe allows an administrator to configure committed access
rates (CAR) and burst-safe rates for any aggregate of flows. The CAR rate is the rate that is always guaranteed. The
burst-safe rate is the best effort rate. This is the rate where some traffic may not get through. It is added bandwidth in
part for bursty periods. See the note in 31.1 "Service Facility Rate Limiting Types" for line card support for burst-safe.
To create a burst-safe rate limiting service, use the following command:
Here is an example:
31.3 APPLYING A SERVICE
31.3.1 Applying Services With ACLs
The
service
apply
rate-limit
acl
command is used to apply services using ACLs to interfaces or ports. This
command is for administrators who prefer to use ACLs rather than MF Classifiers. See 31.3.2 "Applying Services
Using the MF-Classifier Command" for more information about MF Classifiers.
To apply services using ACLs, use the following commands:
Create a burst-safe
rate limiting service.
service
<name>
create
rate-limit
burst-safe
car-rate
<rate> [
car-no-action
|
car-drop-packets
|
car-lower-priority
|
car-lower-priority-except-control
|
car-tos-precedence-rewrite
<num> |
car-tos-precedence-rewrite-lower-priority
<num> |
car-tos-rewrite
<num>
|
car-tos-rewrite-lower-priority
<num>]
burst-rate
<rate>
[
burst-no-action
|
burst-drop-packets
|
burst-lower-priority
|
burst-lower-priority-except-control
|
burst-tos-precedence-rewrite
<num> |
burst-tos-precedence-rewrite-lower-priority
<num> |
burst-tos-rewrite
<num> |
burst-tos-rewrite-lower-priority
<num>] |
[
time-select
<num>]
! Create a service command profile that allows traffic to burst up to 6 million bps
rs(config)# service sqaservice1 create rate-limit burst-safe car-rate 5000000
burst-rate 1000000 car-tos-rewrite 4
Apply a service that
uses ACLs to an
interface or a port.
service
<name>
apply
rate-limit
acl
<aclname>
interface
<intfname>
service
<name>
apply
rate-limit
acl
<aclname>
port
<port>