config sred
Purpose
Used to config the simple RED paremeter.
Syntax config sred [<portlist> | all] [<class_id 0-7> | all] { threshold {low <value 0-100> |
high<value 0-100>}(1) | drop_rate {low<value 1-8> | high<value 1-8>}(1) | drop_green
[enable | disable]}(1)
Description
This command is used to onfigure sRED threshold per port or per port per queue.
Parameters
portlist − A range of ports to config.
class_id − This specifies which of the 8 hardware CoS queues the config sred command will
apply to.
all – Specifies that all the ports will be used for this configuration.
threshold − See below:
low - Specifies the low threshold that the percent of space utilized. By default, the value is
60. The range is 0 to 100.
high – Specifies the high threshold that the percent of queue space utilized. By default, the
value is 80. The range is 0 to 100.
drop_rate – See below:
low − Specifies the probabilistic drop rate if above the low threshold. By default, the value is
1.
high − Specifies the probabilistic drop rate if above the high threshold. By default, the value is
1.
drop_green – See below:
disable − Specifies the probabilistic drop red colored packets if the queue depth is above the
low threshold, and probabilistic drop yellow colored packets if the queue depth is above the
high threshold. By default, if the option is not specified, the setting is disable.
enable − Specifies the probabilistic drop yellow and red colored packets if the queue depth is
above the low threshold, and probabilistic drop green colored packets if the queue depth is
above the high threshold.
NOTE: There are 8 drop rates:
1 100%
2 6.25%
3 3.125%
4 1.5625%
5 0.78125%
6 0.390625%
7 0.1953125%
8 0.09765625%
Restrictions
Only Administrator and Operator and Power-User-level users can issue this command.
Example usage
To configure sred: