Specifications

B-328
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 cos-based
random-detect cos-based
To enable weighted random early detection (WRED) on the basis of the class of service (CoS) value of
a packet, use the random-detect cos-based command in policy-map class configuration mode. To
disable WRED, use the no form of this command.
random-detect cos-based cos-value
no random-detect cos-based
Syntax Description
Command Default When WRED is configured, the default minimum and maximum thresholds are determined on the basis
of output buffering capacity and the transmission speed for the interface.
The default maximum probability denominator is 10.
Command Modes Policy-map class configuration (config-pmap-c)
Command History
Usage Guidelines You cannot use the random-detect cos-based command with the random-detect atm-clp-based
command in the same HQF configuration. You must use the no random-detect atm-clp-based
command to disable it before you configure the random-detect cos-based command.
Examples In the following example, WRED is configured on the basis of the CoS value. In this configuration, the
random-detect cos-based command has been configured and a CoS value of 2 has been specified.
Router> enable
Router# configure terminal
Router(config)# policy-map policymap1
Router(config-pmap)# class class1
Router(config-pmap-c)# random-detect cos-based 2
Router(config-pmap-c)# end
cos-value Specific IEEE 802.1Q CoS values from 0 to 7.
Release Modification
12.0(28)S This command was introduced.
12.2(28)SB This command was integrated into Cisco IOS Release 12.2(28)SB.
12.4(20)T Support was added for hierarchical queueing framework (HQF) using the
Modular Quality of Service (QoS) Command-Line Interface (CLI) (MQC).
12.4(20)MR This command was integrated into Cisco IOS Release 12.4(20)MR.
12.2(33)MRA This command was integrated into Cisco IOS Release 12.2(33)MRA.