Specifications
B-331
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 discard-class
Usage Guidelines When you configure the random-detect discard-class command on an interface, packets are given
preferential treatment based on the discard class of the packet. Use the random-detect discard-class
command to adjust the discard class for different discard-class values.
Examples The following example shows how to configure discard class 2 to randomly drop packets when the
average queue reaches the minimum threshold of 100 packets and 1 in 10 packets are dropped when the
average queue is at the maximum threshold of 200 packets:
policy-map set-MPLS-PHB
class IP-AF11
bandwidth percent 40
random-detect discard-class-based
random-detect-discard-class 2 100 200 10
Related Commands Command Description
bandwidth (policy-map class) Specifies or modifies the bandwidth allocated for a class
belonging to a policy map.
match discard-class Matches packets of a certain discard-class.
random-detect
discard-class-based
Bases WRED on the discard class value of a packet.
random-detect
exponential-weighting-constant
Configures the WRED and DWRED exponential weight factor
for the average queue size calculation.
random-detect precedence Configures WRED and DWRED parameters for a particular IP
precedence.
show policy-map interface Displays the configuration of all classes configured for all service
policies on the specified interface or displays the classes for the
service policy for a specific PVC on the interface.