Navigation
Related Documentation
- M, MX, T Series
- Receive and Transmit Leaky Bucket Properties Overview
- SONET/SDH Physical Interface Properties Overview
- M, MX, SRX, T Series
- receive-bucket
- transmit-bucket
Configuring Receive and Transmit Leaky Bucket Properties
You can configure leaky bucket properties which allow you to limit the amount of traffic received on and transmitted by a particular interface. You can 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.
To configure leaky bucket properties:
- In configuration mode, go to the [edit interfaces interface-name] hierarchy level.[edit]user@host# edit interfaces interface-name
- Configure the receive-bucket statement.[edit interfaces interface-name]user@host# set receive-bucket
- Configure the overflow option, the threshold option, and the rate option for the receive leaky bucket,
which specifies what percentage of the interface’s total capacity
can be used to receive packets.[edit interfaces interface-name receive-bucket]user@host# set overflow (discard | tag)user@host# set threshold bytesuser@host# set rate percentage
- Configure the transmit-bucket statement.[edit interfaces interface-name]user@host# set transmit-bucket
- Configure the overflow option, the threshold option, and the rate option for the transmit leaky bucket,
which specifies what percentage of the interface’s total capacity
can be used to transmit packets.[edit interfaces interface-name transmit-bucket]user@host# set overflow (discard | tag)user@host# set threshold bytesuser@host# set rate percentage
Related Documentation
- M, MX, T Series
- Receive and Transmit Leaky Bucket Properties Overview
- 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
- Receive and Transmit Leaky Bucket Properties Overview
- SONET/SDH Physical Interface Properties Overview
- M, MX, SRX, T Series
- receive-bucket
- transmit-bucket