Example: Configuring Weighted RED Buffer Occupancy
Configure the Q-PIC to use a weight value of 1/2 in average buffer occupancy calculations.
[edit chassis]fpc 0 {pic 1 {red-buffer-occupancy {weighted-averaged instant-usage-weight-exponent 1;}}}
or
[edit chassis]fpc 0 {pic 1 {red-buffer-occupancy {weighted-averaged; # the default value is 1 if not specified}}}
Configure the Q-PIC to use a weight value of 1/4 in average buffer occupancy calculations.
[edit chassis]fpc 0 {pic 1 {red-buffer-occupancy {weighted-averaged instant-usage-weight-exponent 2;}}}
