Configuring Traffic Policing; Verifying Policing Status And Configuration - Samsung Ubigate iBG3026 Configuration Manual

Hide thumbs Also See for Ubigate iBG3026:
Table of Contents

Advertisement

Traffic policing is also supported on Ethernet interfaces. Please check section
'Verifying Policing Status and Configuration' for limitations.
Traffic policing is implemented using a token bucket algorithm. Users will be
able specify two parameters when configuring traffic policing, Rate(token fill
rate) and Peak(number of tokens). Rate is specified in Kbps. Peak can be
specified in kilobits or as a duration(based on the configured rate) in
milliseconds. 'Rate' determines the average bandwidth for the policed flow
and 'Peak' determines the maximum peak(in bits or bytes) permitted for the
flow. Packets conforming to these limits will be forwarded and those violating
these limits will be dropped.
Specifying just the 'Rate' and 'Peak' makes the policing feature simple and
effective. The 'extended peak' parameter is needed to permit a large packet,
by loaning tokens, when there are not enough tokens available at a given time
for the entire packet. The iBG3026 policing algorithm allows for such
'loaning of tokens' by default.

Configuring Traffic Policing

As with CBQ, the first step is traffic classification. Flows should be defined
by creating traffic classes. To classify based on multiple fields, for example,
source IP address and port, a hierarchy of classes should be created. Traffic
policing for a class can be configured using the 'police' command at the class
level as shown below. Policing for non-leaf classes(which define more
aggregate flows) is currently not be supported. Multi-level policing will be
supported in a later release.

Verifying Policing Status and Configuration

The two CLI display commands below can be used to check the policing
configuration and status for a class and for an interface. show qos bundle
bundle_name shows the policing status on the interface and the bandwidth
each class is getting along with its configured policing rate. show qos bundle
bundle_name class class_name shows detailed information for the class
including configured policing parameters and packet drops due to policing.
© SAMSUNG Electronics Co., Ltd.
Ubigate iBG3026 Configuration Guide/Ed.00
173

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents