Related Documentation
- M, MX, T Series
- Configuring Receive and Transmit Leaky Bucket Properties
- SONET/SDH Physical Interface Properties Overview
- M, MX, SRX, T Series
- receive-bucket
- transmit-bucket
Receive and Transmit Leaky Bucket Properties Overview
Congestion control is particularly difficult in high-speed networks with high volumes of traffic. When congestion occurs in such a network, it is usually too late to react. You can avoid congestion by regulating the flow of packets into your network. Smoother flows prevent bursts of packets from arriving at (or being transmitted from) the same interface and causing congestion.
For all interface types except ATM, Fast Ethernet, Gigabit Ethernet, and channelized IQ and IQE, you can configure leaky bucket properties, which allow you to limit the amount of traffic received on and transmitted by a particular interface. You effectively specify what percentage of the interface’s total capacity can be used to receive or transmit packets. You might want to set leaky bucket properties to limit the traffic flow from a link that is known to transmit high volumes of traffic.
![]() | Note: Instead of configuring leaky bucket properties, you can limit traffic flow by configuring policers. Policers work on all interfaces. For more information, see the Routing Policy Feature Guide for Routing Devices. |
The leaky bucket is used at the host-network interface to allow packets into the network at a constant rate. Packets might be generated in a bursty manner, but after they pass through the leaky bucket, they enter the network evenly spaced. In some cases, you might want to allow short bursts of packets to enter the network without smoothing them out. By controlling the number of packets that can accumulate in the bucket, the threshold property controls burstiness. The maximum number of packets entering the network int time units is threshold + rate * t.
By default, leaky buckets are disabled and the interface can receive and transmit packets at the maximum line rate.
For each DS3 channel on a channelized OC12 interface, you can configure unique receive and transmit buckets.
![]() | Note: HDLC payload scrambling conflicts with traffic shaping configured using leaky bucket properties. If you configure leaky bucket properties, you must disable payload scrambling, because the Junos OS rejects configurations that have both features enabled. For more information, see Configuring SONET/SDH HDLC Payload Scrambling. |
Related Documentation
- M, MX, T Series
- Configuring Receive and Transmit Leaky Bucket Properties
- SONET/SDH Physical Interface Properties Overview
- M, MX, SRX, T Series
- receive-bucket
- transmit-bucket
Published: 2013-08-01
Related Documentation
- M, MX, T Series
- Configuring Receive and Transmit Leaky Bucket Properties
- SONET/SDH Physical Interface Properties Overview
- M, MX, SRX, T Series
- receive-bucket
- transmit-bucket