Specifications

B-339
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 dscp (aggregate)
Usage Guidelines Use this command with a random-detect aggregate command within a policy map configuration.
Repeat this command for each set of DSCP values that share WRED parameters.
After the policy map is defined, the policy map must be attached at the virtual circuit (VC) level.
The set of subclass (DSCP precedence) values defined on a random-detect dscp (aggregate) CLI are
aggregated into a single hardware WRED resource. The statistics for these subclasses are also
aggregated.
Use the show policy-map interface command to display the statistics for aggregated subclasses.
DSCP Values
You must enter one or more differentiated service code point (DSCP) values. The command may include
any combination of the following:
numbers (0 to 63) representing differentiated services code point values
af numbers (for example, af11) identifying specific AF DSCPs
cs numbers (for example, cs1) identifying specific CS DSCPs
default—Matches packets with the default DSCP.
ef—Matches packets with EF DSCP.
For example, if you wanted the DCSP values of 0, 1, 2, 3, 4, 5, 6, or 7 (note that only one of the IP DSCP
values must be a successful match criterion, not all of the specified DSCP values), enter the match dscp
0 1 2 3 4 5 6 7 command.
Examples The following example shows how to create a class map named map1 and associate it with the policy
map named map2. The configuration enables WRED to drop map1 packets based on DSCP 8 with a
minimum threshold of 24 and a maximum threshold of 40. The map2 policy map is attached to the
outbound gigabitEthernet 0/1 interface.
Router(config-if)# class-map map1
Router(config-cmap)# match access-group 10
Router(config-cmap)# exit
Router(config)# policy-map map2
Router(config-pmap)# class map1
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 gigabitethernet 0/1
Router(config-if)# service-policy output map2
Related Commands Command Description
class (policy-map) Specifies the name of the class whose policy you want to create or
change, and the default class (commonly known as the class-default
class) before you configure its policy.
interface Configures an interface type and enters interface configuration mode.
policy-map Creates a policy map that can be attached to one or more interfaces to
specify a service policy.