Users Guide

Table Of Contents
2. Configure WRED threshold parameters for different colors in WRED CONFIGURATION mode.
OS10(config-wred)# random-detect color yellow minimum-threshold 100 maximum-threshold
300 drop-probability 40
3. Configure the exponential weight value for the WRED profile in WRED CONFIGURATION mode.
OS10(config-wred)# random-detect weight 4
4. Enable ECN.
OS10(config-wred)# random-detect ecn
5. Enable WRED/ECN on a queue.
OS10(config)# class-map type queuing example-cmap-wred
OS10(config-cmap-queuing)# match queue 2
OS10(config-cmap-queuing)# exit
OS10(config)# policy-map type queuing example-pmap-wred
OS10(config-pmap-queuing)# class example-cmap-wred
OS10(config-pmap-c-que)# random-detect example-wred-prof
6. Enable WRED/ECN on a port.
OS10(config)# interface ethernet 1/1/1
OS10(conf-if-eth1/1/1)# random-detect example-wred-prof
7. Enable WRED/ECN on a service-pool.
OS10(config)# system qos
OS10(config-sys-qos)# random-detect pool 0 example-wred-prof
NOTE:
On the S4200ON Series platform, enable ECN globally only. Also, apply ECN configurations only at the queue level.
You cannot configure ECN at the interface or service-pool levels. If you try to apply the ECN configuration at the interface
or service-pool levels, the configuration is not accepted.
1. Configure a WRED profile in CONFIGURATION mode.
OS10(config)# wred example-wred-prof-1
2. Configure WRED threshold parameters for different colors in WRED CONFIGURATION mode.
OS10(config-wred)# random-detect color yellow minimum-threshold 100 maximum-threshold
300 drop-probability 40
3. Configure the exponential weight value for the WRED profile in WRED CONFIGURATION mode.
OS10(config-wred)# random-detect weight 4
4. Configure the ECN threshold parameters in WRED CONFIGURATION mode.
OS10(config-wred)#random-detect ecn minimum-threshold 100 maximum-threshold 300 drop-
probability 40
5. Exit WRED CONFIGURATION mode.
OS10(config-wred)#exit
6. Create a QoS class-map.
OS10(config)# class-map type queuing example-cmap-wred-1
OS10(config-cmap-queuing)# match queue 2
7. Enter QOS POLICY-MAP mode and create a queuing policy type.
OS10(config)#policy-map type queuing example-pmap-wred-1
OS10(config-pmap-queuing)# class example-cmap-wred-1
Quality of service
1201