2-380
Catalyst 3750 Metro Switch Command Reference
OL-9645-10
Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands
random-detect dscp
Examples This example shows how to enable DSCP-based WRED as a drop policy. It uses the DSCP value 8 for
class c1. The minimum threshold for DSCP value 8 is 24, the maximum threshold is 40, and the
mark-probability denominator is 512. The last command attaches the service policy to the port.
Switch(config)# class-map c1
Switch(config-cmap)# match ip dscp 8
Switch(config-cmap)# exit
Switch(config)# policy-map p1
Switch(config-pmap)# class c1
Switch(config-pmap-c)# bandwidth 48
Switch(config-pmap-c)# random-detect dscp-based
Switch(config-pmap-c)# random-detect dscp 8 24 40 512
Switch(config-pmap-c)# exit
Switch(config-pmap)# end
Switch(config)# interface gigabitethernet1/1/1
Switch(config-if)# service-policy input p1
You can verify your settings by entering the show policy-map privileged EXEC command.
Ta b l e 2-15 random-detect dscp Default Settings
DSCP (Precedence) Minimum Threshold Maximum Threshold Mark Probability
af11 32 40 1/10
af12 28 40 1/10
af13 24 40 1/10
af21 32 40 1/10
af22 28 40 1/10
af23 24 40 1/10
af31 32 40 1/10
af32 28 40 1/10
af33 24 40 1/10
af41 32 40 1/10
af42 28 40 1/10
af43 24 40 1/10
cs1 22 40 1/10
cs2 24 40 1/10
cs3 26 40 1/10
cs4 28 40 1/10
cs5 30 40 1/10
cs6 32 40 1/10
cs7 34 40 1/10
ef 36 40 1/10
rsvp 36 40 1/10
default 20 40 1/10