Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Announcement: Try the Ask AI chatbot for answers to your technical questions about Juniper products and solutions.

close
header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents

red-buffer-occupancy

date_range 20-Nov-23

Syntax

content_copy zoom_out_map
red-buffer-occupancy {
    weighted-averaged [ instant-usage-weight-exponent exponent-value ];
}

Hierarchy Level

content_copy zoom_out_map
[edit chassis fpc slot-number pic pic-number ],
[edit chassis lcc number fpc slot-number pic pic-number]

Description

Configure the IQ PIC to base random early detection (RED) queue management on a simple moving average buffer occupancy calculation. If you do not include this statement, the IQ PIC bases RED on an instantaneous buffer occupancy value. As an option, you can specify that the IQ PIC bases RED on a weighted moving average of buffer occupancy values.

If you configure this feature on a channelized OC12 intelligent queuing (IQ) PIC, the PIC reboots.

Options

weighted-averaged—Configure the IQ PIC to base RED processing on a simple moving average of instantaneous buffer occupancy values instead of an instantaneous buffer occupancy.

instant-usage-weight-exponent exponent-value—(Optional) Specify the integer to be used as the negative exponent of 2 to express a weight value. The PIC performs weighted RED (WRED) by based on a calculation of average buffer occupancy that applies the specified weight value to the instantaneous buffer occupancy and then factors the weighted value into the calculation of average buffer occupancy. Valid exponent range is from 1 through 31 (weight values from 2-1 through 2-31). If you do not specify this option, the default exponent value is 0, which results in a weight value of 20 = 1. With a weight value of 1, the calculation of weighted average buffer occupancy yields the same value as the simple average buffer occupancy.

Note:

You can specify an exponent value greater than 31, and the value displays in the output of show commands. However, the PIC replaces the out-of-range value with the operational value of 31, which results in a weight value of 2-31 = 1 / 231 = 0.0000000004656612873077392578125.

Required Privilege Level

interface—To view this statement in the configuration.

interface-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Release 8.3.

footer-navigation