This command displays the global WRED settings for each CoS queue. If you specify the unit/slot/port, the command displays the WRED settings for each CoS queue on the specified interface. Valid interfaces include physical ports and port channels. ECN capability is also displayed.
The per CoS queue display for an interface displays the threshold, drop probability, and ECN capability per color in the order, green, yellow, red, and non-TCP.
| Format | show interfaces random-detect [unit/slot/port] |
| Mode | Privileged EXEC |
| Term | Definition |
|---|---|
| Queue ID | An interface supports n queues numbered 0 to (n-1). The specific n value is platform dependent. |
| WRED Minimum Threshold | The configured minimum threshold the queue depth (as a percentage) where WRED starts marking and dropping traffic. |
| WRED Maximum Threshold | The configured maximum threshold is the queue depth (as a percentage) above which WRED marks / drops all traffic. |
| WRED Drop Probability | The configured percentage probability that WRED will mark/drop a packet, when the queue depth is at the maximum threshold. (The drop probability increases linearly from 0 just before the minimum threshold, to this value at the maximum threshold, then goes to 100% for larger queue depths). |
| ECN | Identifies whether ECN is enabled. |
Example: This example shows ECN enabled on CoS queues 0 and 1 with a minimum threshold of 40% for green colored packets, 30% for yellow colored packets, 20% for red colored packets and 100% for non-TCP packets.
(switch)#show interfaces random-detect Global Configuration Queue ID....................................... 0 Threshold Units................................ Percentage WRED Minimum Threshold Precedence level 0........................... 40 Precedence level 1........................... 30 Precedence level 2........................... 20 Precedence level 3........................... 99 WRED Drop Probability Precedence level 0........................... 10 Precedence level 1........................... 10 Precedence level 2........................... 10 Precedence level 3........................... 10 ECN Enabled.................................... No Queue ID....................................... 1 Threshold Units................................ Percentage WRED Minimum Threshold Precedence level 0........................... 40 Precedence level 1........................... 30 Precedence level 2........................... 20 Precedence level 3........................... 99 WRED Drop Probability Precedence level 0........................... 10 Precedence level 1........................... 10 Precedence level 2........................... 10 Precedence level 3........................... 10 ECN Enabled.................................... No