700 QoS Commandsconsole(config-if-Te2/0/1)#random-detect queue-parms 0 min-thresh 5 10 15 50 max-thresh 15 25 50 98 drop-prob-scale 1 23 25random-detect exponential-weighting-constantUse the random-detect exponential-weighting-constant command toconfigure the decay in the calculation of the average queue size user forWRED on an interface or all interfaces.Syntaxrandom-detect exponential-weighting-constant0-15no random-detect exponential-weighting-constant•0–15 — The weighting constant is used to smooth the calculation of thequeue size using the following formula where the 0-15 value is N.Default ConfigurationThe default value is 15.Command ModeGlobal Config mode, Interface Config mode (physical and port-channel),Interface Range modeUser GuidelinesTo use the instantaneous queue size in the calculation of WRED drops, setthe weighting constant to 0. Larger values of N reduce the effect ofinstantaneous changes. To update the current queue size to ½ the differencebetween the previous size and the current instantaneous queue size, set theweighting constant to 1. To update the current queue size to 1/4 thedifference between the previous size and the current instantaneous queuesize, set the weighting constant to 2, ....redirectUse the redirect command in Policy-Class-Map Configuration mode tospecify that all incoming packets for the associated traffic stream areredirected to a specific egress interface (physical port or port-channel).