Specifications

B-343
Cisco MWR 2941 Mobile Wireless Edge Router Software Configuration Guide, Release 12.2(33)MRB
OL-21227-02
Appendix B Cisco MWR 2941 Router Command Reference
random-detect exponential-weighting-constant
Usage Guidelines WRED is a congestion avoidance mechanism that slows traffic by randomly dropping packets when
congestion exists. Use this command to change the exponent used in the average queue size calculation
for WRED services. You can also use this command to configure the exponential weight factor for the
average queue size calculation for the queue reserved for a class.
Examples The following example configures the policy map called policy1 to contain policy specification for the
class called class1. During times of congestion, WRED packet drop is used instead of tail drop. The
weight factor used for the average queue size calculation for the queue for class1 is 12.
! The following commands create the class map called class1:
class-map class1
match input-interface FE0/1
! The following commands define policy1 to contain policy specification for class1:
policy-map policy1
class class1
bandwidth 1000
random-detect
random-detect exponential-weighting-constant 12
The following example configures policy for a traffic class named int10 to configure the exponential
weight factor as 12. This is the weight factor used for the average queue size calculation for the queue
for traffic class int10. WRED packet drop is used for congestion avoidance for traffic class int10, not
tail drop.
policy-map policy12
class int10
bandwidth 2000
random-detect exponential-weighting-constant 12