Rate Limit on Physical Interfaces
|
When the rate of the outgoing network traffic on an interface is greater than that of the incoming network traffic on the interface, you can adopt traffic shaping (TS) to avoid packet loss and network congestion.
Purpose TS limits the volume and burst of outgoing traffic on a network connection. Thus, the packets can be transmitted at an even rate. TS is carried out by means of the buffer and TB. When packets are transmitted too fast, the packets are first cached in the buffer and then transmitted at an even rate under the control of the TB. Both traffic policing and traffic shaping are realized at the network layer (IP layer) and thus take effect on only the packets that need to be processed at the IP layer. To limit the rate of sending all packets on an interface, you need to adopt rate limit on the physical interface. Rate limit on physical interfaces controls traffic by means of a TB and buffer. A TB can be regarded as a container of tokens, which has a pre-defined capacity. The system puts tokens into the TB at a set rate. When the TB is full of tokens, the excessive tokens overflow and the number of the tokens in the TB does not increase. The process is as follows: If there are enough tokens in the TB, packets can be forwarded by the device, and the number of tokens in the TB decreases based on the length of the arriving packets. If the TB is empty, packets enter the buffer queue. The packets in the buffer queue can be sent when enough tokens are put into the TB. |
|
Please share more about TB and TS. |
|
Please share command line steps for this. |
|
Please share command line steps for this. |

Favorite (0)