Random-detect exponential-weighting-constant – Enterasys Networks X-Pedition XSR CLI User Manual
Page 491
Policy-Map Commands
XSR CLI Reference Guide 12-95
Examples
The following example enables WRED with a minimum threshold for DSCP af21 of 24 and
maximum threshold of 40. The dropping probability is 1/4th. All other DSCPs have default values.
XSR(config)#policy-map wred
XSR(config-pmap
XSR(config-pmap-c)#random-detect dscp-based
XSR(config-pmap-c)#random-detect dscp af21 24 40 4
The following example sets WRED It sets DSCP 33 WRED parameters to 10, 20, 10 and changes the
setting for all other DSCP values from initial to default 5, 10, 20.
XSR(config)#policy-map wred
XSR(config-pmap
XSR(config-pmap-c)#random-detect dscp-based
XSR(config-pmap-c)#random-detect dscp 33 10 20 10
XSR(config-pmap-c)#random-detect default 5 10 20
random-detect exponential-weighting-constant
This command configures the Weighted Random Early Detect (WRED) exponential weight factor
for the average queue size calculation. The weight constant is expressed as a power of 2.
WRED uses the exponential weighting factor to calculate average queue size. To simplify
computing average queue size, the weight constant is allowed to be a power of 2. Choosing the
right value of this constant is important for proper WRED operation. The default value is based on
available data and should be changed only if your applications benefit from a different value.
Syntax
random-detect exponential-weighting-constant value
Cs1
32
40
1/10
Cs2
28
40
1/10
Cs3
24
40
1/10
Cs4
32
40
1/10
Cs5
28
40
1/10
Cs6
24
40
1/10
Cs7
32
40
1/10
Ef
28
40
1/10
Initial parameters for all
other DSCP values
24
40
1/10
Table 12-1 DSCP Threshold/Max Drop Probability Parameters (continued)
DSCP
Min Threshold
Max Threshold
Max Drop Probability
value
Exponent ranging from 1 to 16.