DGS-3700 Series Layer 2 Managed Gigabit Ethernet Switch CLI Reference Guide
Page | 356
Example usage:
To disable sred:
DGS-3700-12:5#disable sred
Command: disable sred
Success.
DGS-3700-12:5#
config sred
Purpose
Used to config the simple RED parameter.
Syntax
config sred [<portlist>|all] [<class_id 0-7>|all]
{ threshold {low <value 0-100>|high<value 0-100>} |
drop_rate {low<value 1-8>|high<value 1-8>}|
drop_green [enable|disable]}
Description
This command is used to configure sRED threshold per port or per port per queue.
Parameters
portlist
−
Specifies a range of ports that will be configured.
All –
Specifies that all ports will be configured.
class_id 0-7
−
This specifies which of the 8 hardware CoS queues the config sred
command will apply to.
threshold
–
low
−
Low threshold that specifies the percent of space utilized. By default, the
value is 60. The range is 0 to 100.
high
−
High threshold that specifies the percent of queue space utilized. By
default, the value is 80. The range is 0 to 100.
drop_rate
–
low
−
Probabilistic drop rate if above the low threshold, By default, the value is 1.
high
−
Probabilistic drop rate if above the high threshold. By default, the value is
1.
drop_green
–
disable
−
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
disabled.
enable
−
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-level users can issue this command.