122
Yellow and red packet configuration (second and third threshold parameters) are kept at the defaults, as no
metering to reclassify packets from green to yellow or red is present. The last threshold parameter
configures non-TCP packets in CoS queues 0 and 1 to be processed with the WRED defaults. The ecn
keyword enables ECN marking of ECN-capable packets on CoS queues 0 and 1. The weighting constant is set
to 0 in the second line of the configuration, as described in the DCTCP paper cited above. Finally, CoS queues
0 and 1 are configured for WRED in the last line of the configuration.
(QCT) #config
(QCT) (Config)#random-detect queue-parms 0 1 min-thresh 13 30 20 100 max-thresh 13 90 80 100
drop-prob 100 10 10 10 ecn
(QCT) (Config)#random-detect exponential-weighting-constant 0
(QCT) (Config)#queue cos-queue random-detect 0 1