Configuring Traffic Policing - HP 5920 Configuration Manual

Acl and qos
Table of Contents

Advertisement

The line rate of a physical interface specifies the maximum rate for sending or receiving packets
(including critical packets).
Line rate also uses token buckets for traffic control. With line rate configured on an interface, all packets
to be sent through the interface are handled by the token bucket at line rate. If enough tokens are in the
token bucket, packets can be forwarded. Otherwise, packets are put into QoS queues for congestion
management. In this way, the traffic passing the physical interface is controlled.
Figure 11 Line rate implementation
The token bucket mechanism limits traffic rate when accommodating bursts. It allows bursty traffic to be
transmitted if enough tokens are available. If tokens are scarce, packets cannot be transmitted until
efficient tokens are generated in the token bucket. It restricts the traffic rate to the rate for generating
tokens.
Line rate limits the total rate of all packets on a physical interface. It is easier to use than traffic policing
in controlling the total traffic rate on a physical interface.

Configuring traffic policing

Step
1.
Enter system view.
2.
Create a traffic class
and enter traffic class
view.
3.
Configure match
criteria.
4.
Return to system view.
5.
Create a traffic
behavior and enter
traffic behavior view.
Command
system-view
traffic classifier classifier-name
[ operator { and | or } ]
if-match match-criteria
quit
traffic behavior behavior-name
37
Remarks
N/A
By default, no traffic class is
configured.
By default, no match criterion is
configured.
For more information about the
if-match command, see ACL and QoS
Command Reference.
N/A
By default, no traffic behavior is
configured.

Advertisement

Table of Contents
loading

This manual is also suitable for:

5900

Table of Contents