Specifications

B-325
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
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 following commands create the class map called class1:
class-map class1
match input-interface gigabitethernet0/1
! The following commands define policy1 to contain policy specification for class1:
policy-map policy1
class class1
bandwidth 1000
random-detect
The following example enables WRED to use the DSCP value 8. The minimum threshold for the DSCP
value 8 is 24 and the maximum threshold is 40. This configuration was performed at the interface level.
Router(config)# interface serial0/0
Router(config-if)# random-detect dscp-based
Router(config-if)# random-detect dscp 8 24 40
The following example enables WRED to use the DSCP value 8 for class c1. The minimum threshold
for DSCP value 8 is 24 and the maximum threshold is 40. The last line attaches the service policy to the
output interface or virtual circuit (VC) p1.
Router(config-if)# class-map c1
Router(config-cmap)# match access-group 101
Router(config-if)# policy-map p1
Router(config-pmap)# class c1
Router(config-pmap-c)# bandwidth 48
Router(config-pmap-c)# random-detect dscp-based
Router(config-pmap-c)# random-detect dscp 8 24 40
Router(config-pmap-c)# exit
Router(config-pmap)# exit
Router(config)# interface serial0/0
Router(config-if)# service-policy output p1
Related Commands Command Description
random-detect dscp Changes the minimum and maximum packet thresholds for the
DSCP value.
random-detect
exponential-weighting-constant
Configures the WRED and DWRED exponential weight factor
for the average queue size calculation.
random-detect flow Enables flow-based WRED.
random-detect precedence Configures WRED and DWRED parameters for a particular IP
Precedence.
show interfaces Displays statistics for all interfaces configured on the router or
access server.
show queueing Lists all or selected configured queueing strategies.
show tech-support rsvp Generates a report of all RSVP-related information.