![Riverstone Networks WICT1-12 Скачать руководство пользователя страница 705](http://html1.mh-extra.com/html/riverstone-networks/wict1-12/wict1-12_user-manual_1466194705.webp)
Riverstone Networks RS Switch Router User Guide Release 8.0 31-1
31 SERVICE CONFIGURATION
The
service
facility is used to configure rate limiting. It has been designed to reduce the amount of work it takes
to configure a large number of things that require the same configuration. The
service
facility reduces the
complexity of configuring rate limiting on the RS.
This facility can be applied across a variety of network configurations such as an individual flow or an aggregate
of flows. Additionally, it can be used to configure committed access rates and burst rates. See
31.2.4
"Burst-Safe
Rate Limiting Service"
for more information about committed access rates and burst rates.
The
service
facility is applied using a feature called Multi Field Classifier (MF Classifier). An MF Classifier is
a mechanism for classifying traffic based on the fields of an IP packet. The MF Classifier retrieves the TCP/UDP
source socket number from a packet and uses this information when applying the service. See
31.3.2
"Applying
Services Using the MF-Classifier Command"
for information about MF Classifiers.
The advantages of the
service
commands are:
•
Less commands are used when configuring a rate limit.
•
One service can be applied to one, many, or an unlimited number of interfaces and/or ports using
the MF Classifier.
•
ACLs do not need be defined when using
service
rate limiting.
To illustrate the advantages two examples follow. In the first, an ACL named
acl1
is created. Then an aggregate
rate limit of 2 million packets that uses
acl1
is created. The name of the rate limit is
test1
. Finally the rate limit is
applied to interface
test2
. In the second example, the service
test1
is created with a flow-aggregate rate limit of 2
million packets. Then it is applied to interface
test2
. The examples show that a service is created using less
commands and no ACLs. The section
31.6.1
"Applying a Service to Multiple Servers"
shows how one service is
applied to one, many, or an unlimited number of interfaces and/or ports.
Here is the example of the
acl
and
rate-limit
commands required to configure rate limiting:
Here is the example of the
service
commands required to configure rate limiting:
! Create a rate limit
rs(config)# acl acl1 permit ip 10.50.1.0/24 any
rs(config)# rate-limit test1 aggregate acl acl1 rate 2000000 drop-packets
rs(config)# rate-limit test1 apply interface test2
! Create a service with an MF Classifier
rs(config)# service test1l create rate-limit flow-aggregate rate 2000000
exceed-action drop-packets distribute-among 4
rs(config)# service test1 apply rate-limit mf-classifier interface test2
source-addr-mask 10.9.1.3/24
Содержание WICT1-12
Страница 1: ...36 007 07 Rev 0A RS Switch Router User Guide Release 8 0...
Страница 7: ...Riverstone Networks RS Switch Router User Guide Release 8 0 vii J J J J J 2 5 5J 5 A H B J 5J H...
Страница 160: ...8 26 Riverstone Networks RS Switch Router User Guide Release 8 0 Configuring PPP OC 12 ATM Configuration Guide...
Страница 216: ...13 6 Riverstone Networks RS Switch Router User Guide Release 8 0 Configuration Example RIP Configuration Guide...
Страница 258: ...15 24 Riverstone Networks RS Switch Router User Guide Release 8 0 Displaying IS IS Information IS IS Configuration Guide...
Страница 308: ...16 50 Riverstone Networks RS Switch Router User Guide Release 8 0 BGP Configuration Examples BGP Configuration Guide...
Страница 530: ...23 10 Riverstone Networks RS Switch Router User Guide Release 8 0 Configuration Examples IPX Routing Configuration...
Страница 546: ...24 16 Riverstone Networks RS Switch Router User Guide Release 8 0 Monitoring ACLs Access Control List Configuration...
Страница 582: ...26 20 Riverstone Networks RS Switch Router User Guide Release 8 0 Limiting Traffic Rate QoS Configuration...
Страница 586: ...27 4 Riverstone Networks RS Switch Router User Guide Release 8 0 Monitoring Broadcast Traffic Performance Monitoring...