Reference Guide

6 Enable WRED/ECN on a port.
OS10(config)# interface ethernet 1/1/1
OS10(conf-if-eth1/1/1)# random-detect wred_prof_1
7 Enable WRED/ECN on a service-pool.
OS10(config)# system qos
OS10(config-sys-qos)# random-detect pool 0 wred_prof_1
Congure congestion avoidance for the S4200
NOTE: For the S4200 platform, ECN can be enabled globally only. Also, ECN congurations can be applied only at the queue
level. You cannot congure ECN at interface and service pool levels. In the S4200, if you try to apply the ECN congure at
interface or service pool levels, the conguration is not accepted.
1 Congure WRED prole in the CONFIGURATION mode.
OS10(config)# wred wred_prof_1
2 Congure WRED threshold parameters for dierent colors in the WRED CONFIGURATION mode.
OS10(config-wred)# random-detect color yellow minimum-threshold 100 maximum-threshold 300
drop-probability 40
3 Congure the exponential weight value for the WRED prole in the WRED CONFIGURATION mode.
OS10(config-wred)# random-detect weight 4
4 Congure the ECN threshold parameters in the WRED CONFIGURATION mode.
OS10(config-wred)#random-detect ecn minimum-threshold 100 maximum-threshold 300 drop-
probability 40
5 Exit the WRED CONFIGURATION mode.
OS10(config-wred)#exit
6 Enter QOS POLICY-MAP mode and create a queuing policy type.
OS10(config)#policy-map type queuing pol-map-1
7 Create a QoS class for the queuing policy type.
OS10(config-pmap-queuing)#class default
8 Assign a WRED prole to the specied queue.
OS10(config-pmap-c-que)#random-detect prof1
9 Exit class map and policy map modes.
OS10(config-pmap-c-que)#exit
OS10(config-pmap-queuing)#exit
10 Enter the SYSTEM QOS mode.
OS10(config)#configure system-qos
11 Enable ECN globally.
OS10(config-sys-qos)#random-detect ecn
After you enable ECN globally, ECN marks the CE bit of ECN eld in a packet as ECT.
In the S4200, you can congure separate thresholds for ECT. If ECN is enabled, ECN capable trac (ECT) is marked based on the
congured ECN threshold and non-ECT is dropped based on the WRED thresholds.
Storm control
Trac storms created by packet ooding or other reasons may degrade the performance of the network.
The storm control feature allows you to control unknown unicast, multicast, and broadcast trac on Layer 2 and Layer 3 physical
interfaces.
In the storm control unknown unicast conguration, both the unknown unicast and unknown multicast trac are rate-limited.
680
Quality of service