Policy-Map Commands
12-94 Configuring Quality of Service
Syntax
random-detect dscp dscp-value min-thres max-thres [mark-prob]
Syntax of the “no” Form
ThenoformrevertsWREDparameterstothedefaultforaDSCPvalue:
no random-detect
Mode
PolicyMapClassconfiguration:XSR(config-pmap-c-<xx>)#
Defaults
• Disabled
•Defaultminthresholdsettingsusedbytherandom-detect dscpcommandareshowninthe
followingtable.Thedefaultmaxthresholdandmarkprobabilityare40and1/10respectivelyfor
allDSCPvalues.
dscp-value TheDSCPvalue.
min-thres Minimumlimitofaveragepacketqueuelength,rangingfrom1to4096,beyond
whichtheXSRrandomlydropspackets.
max-thres Maximumlimitofaveragepacketqueuelength,rangingfrom1to4096,
beyondwhichallpacketsaredropped.
mark-prob Markprobabilitydenominatorrangingfrom1to65,536.Thisistheliklihoodof
queuedpacketsbeingdroppedwhentheirnumberexceedingtheminimum
thresholdisbetween0and(1/markprob).Whenthemaximumthresholdis
reached,dropprobabilityis1dividedbythemaximumprobability.
Table 12-1 DSCP Threshold/Max Drop Probability Parameters
DSCP Min Threshold Max Threshold Max Drop Probability
af11 32 40 1/10
af12 28 40 1/10
af13 24 40 1/10
Af21 32 40 1/10
Af22 28 40 1/10
Af23 24 40 1/10
Af41 32 40 1/10
Af31 28 40 1/10
Af32 24 40 1/10
Af33 32 40 1/10
Af42 28 40 1/10
Af43 24 40 1/10