4 line rate configuration, Line rate, Line rate configuration – H3C Technologies H3C S5120 Series Switches User Manual

Page 361: Configuration procedure

Advertising
background image

4-1

4

Line Rate Configuration

When configuring traffic classification, traffic policing, and traffic shaping, go to these sections for

information you are interested in:

z

Line Rate

z

Line Rate Configuration

Line Rate

The line rate of a physical interface specifies the maximum rate for forwarding packets (including critical

packets).

Line rate uses token buckets for traffic control. With line rate configured on an interface, all packets to

be sent through the interface are firstly handled by the token bucket at line rate. If there are enough

tokens 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 4-1 Line rate implementation

In the token bucket approach to traffic control, bursty traffic can be transmitted so long as enough

tokens are available in the token bucket; if tokens are inadequate, packets cannot be transmitted until

the required number of tokens are generated in the token bucket. Thus, traffic rate is restricted to the

rate for generating tokens, thus limiting traffic rate and allowing bursty traffic.

Line Rate Configuration

Configuration procedure

The line rate of a physical interface specifies the maximum rate of incoming packets or outgoing

packets.

Follow these steps to configure the line rate:

Advertising