Random-detect precedence – Enterasys Networks X-Pedition XSR CLI User Manual
Page 492
Policy-Map Commands
12-96 Configuring Quality of Service
Syntax of the “no” Form
The no form of this command sets the constant to the default value of 9:
no random-detect exponential-weighting-constant
Mode
Policy‐Map Class configuration:
XSR(config-pmap-c-<xx>)#
Example
The following example enables WRED and sets the weight constant to (1/2)^5:
XSR(config)#policy-map wred
XSR(config-pmap
XSR(config-pmap-c)#random-detect dscp-based
XSR(config-pmap-c)#random-detect exponential-weighting-constant 5
random-detect precedence
This command sets Weighted Random Early Detect (WRED) the minimum and maximum
threshold and maximum drop probability values for a IP precedence value.
The default WRED maximum drop probability (MaxP) is 1/10 and the default maximum threshold
(MaxTh) is 40 for all IP precedence values. The default minimum threshold is calculated from
MaxTh based on following formula:
MinTh = (1/2 ‐ precvalue/16) x MaxTh
To change the default setting, use the
random-detect precedence default
command. By doing
so, all IP precedence will share the same values except those which were explicitly configured
with
random-detect precedence
. This setting is useful if WRED should operate as RED. To
revert to the original default setting, enter
no random-detect precedence default
.
Syntax
random-detect precedence prec-value min-thres max-thres [mark-prob]default
Syntax of the “no” Form
The no form of this command reverts WRED parameters to the default for a precedence value:
no random-detect precedence prec-value
prec-value
Precedence value, ranging from 0 to 7 with the keyword
default
.
min-thres
Minimum number of packets in the queue, ranging from 1 to 4096,
beyond which the XSR randomly drops packets.
max-thres
Maximum number of packets in the queue, ranging from 1 to 4096,
beyond which the XSR drops all packets.
mark-prob
Mark probability denominator. Liklihood of queued packets to be
dropped when their number exceeding the minimum limit is between 0
and (1/mark‐prob). Range: 1 to 65,536.