ON THIS PAGE
Example: Managing Transient Traffic Bursts by Configuring Weighted RED Buffer Occupancy
This topic provides two examples for configuring the weighted RED buffer occupancy feature to manage traffic bursts.
Requirements
Weighted RED buffer occupancy is configured on a per-PIC basis and applies to only the following IQ-PICs:
Channelized T1/T3
Channelized E1/E3
Channelized OC3/STM1
Channelized OC12
If you configure this feature on an unsupported PIC, you see an error message.
If you configure this feature on a channelized OC12 intelligent queuing (IQ) interface, the PIC reboots.
Overview
To manage traffic bursts on IQ PICs, you can base RED queue management on weighted average buffer occupancy values. This topic provides two examples for configuring weighted RED buffer occupancy feature to manage traffic bursts.
Configuration
- CLI Quick Configuration
- Example: Configuring a Q-PIC to Use a Weight Value of 1/2 in Average Buffer Occupancy Calculations
- Example: Configuring a Q-PIC to Use a Weight Value of 1/4 in Average Buffer Occupancy Calculations
- Results
CLI Quick Configuration
To quickly configure this example, copy the following commands, paste them into a text file, remove any line breaks, and then copy and paste the commands into the CLI.
To configure a Q-PIC to use a weight value of 1/2 in average buffer occupancy calculations:
[edit] edit chassis fpc 0 pic 1 set red-buffer-occupancy weighted-averaged instant-usage-weight-exponent 1
To configure a Q-PIC to use a weight value of 1/4 in average buffer occupancy calculations:
[edit] edit chassis fpc 0 pic 1 set red-buffer-occupancy weighted-averaged instant-usage-weight-exponent 2
Example: Configuring a Q-PIC to Use a Weight Value of 1/2 in Average Buffer Occupancy Calculations
Step-by-Step Procedure
To configure a Q-PIC to use a weight value of 1/2 in average buffer occupancy calculations:
Specify the Q-PIC.
[edit] user@host# edit chassis fpc 1 pic 0
Configure the RED queue management values.
[edit chassis fpc 1 pic 0] user@host# set red-buffer-occupancy weighted-averaged instant-usage-weight-exponent 1
Example: Configuring a Q-PIC to Use a Weight Value of 1/4 in Average Buffer Occupancy Calculations
Step-by-Step Procedure
To configure a Q-PIC to use a weight value of 1/4 in average buffer occupancy calculations:
Specify the Q-PIC.
[edit] user@host# edit chassis fpc 1 pic 1
Configure the RED queue management values.
[edit chassis fpc 1 pic 1] user@host# set red-buffer-occupancy weighted-averaged instant-usage-weight-exponent 2
Results
From configuration mode, confirm your configuration
by entering the show
command at the [edit chassis
fpc 1]
hierarchy level. If the output does not display the
intended configuration, repeat the instructions in this example to
correct the configuration.
[edit chassis fpc 1] user@host# show
red-buffer-occupancy { weighted-averaged { instant-usage-weight-exponent 1; } } red-buffer-occupancy { weighted-averaged { instant-usage-weight-exponent 2; } }
Enter commit
from configuration mode.