xStack
®
DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide
1110
DGS-3120-24TC:admin#create wred profile 2 profile_name profilename
Command: create wred profile 2 profile_name profilename
Success.
DGS-3120-24TC:admin#
121-4
config wred profile
Description
This command is used to configure the WRED profile.
Format
config wred profile [default | profile_id <int 2-128> | <profile_name 32>] {tcp | non_tcp}
{green | yellow | red} min_threshold <int 0-100> max_threshold <int 0-100> max_drop_rate
<int 0-100>
Parameters
default
- Specify the default WRED profile to be configured.
profile_id
- Specify the WRED profile ID to be configured.
<int 2-128>
- Enter the WRED profile ID.
<profile_name 32>
- Enter the WRED profile name.
tcp
- (Optional) Specify the TCP type of packets to be dropped.
non_tcp
- (Optional) Specify the non-TCP type of packets to be dropped.
green
- (Optional) Specify the green packets to be dropped.
yellow
- (Optional) Specify the yellow packets to be dropped.
red
- (Optional) Specify the red packets to be dropped.
min_threshold
- Specify the minimum threshold value used. If the queue size is higher than this
value, then the color yellow will be assigned to it. If the queue size is lower than this value,
then the color green will be assigned to it and then it will be guaranteed not to be dropped.
Yellow packet behavior depends on the profile setting for this color.
<int 0-100>
- Enter the value between 0 and 100.
max_threshold
- Specify the maximum threshold value used. If the queue size is lower than this
value, then the color yellow will be assigned to it. If the queue size is higher than this value,
then the color red will be assigned to it and then it will be dropped. Yellow packet behavior
depends on the profile setting for this color.
<int 0-100>
- Enter the value between 0 and 100.
max_drop_rate
- Specify the maximum drop rate value.
<int 0-100>
- Enter the value between 0 and 100.
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.
Example
To config the profile 2 to drop all type and all color packets:
Summary of Contents for xStack DGS-3120-24PC
Page 1: ......
Page 186: ...xStack DGS 3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 181 ...
Page 204: ...xStack DGS 3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 199 ...
Page 363: ...xStack DGS 3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 358 ...
Page 1056: ...xStack DGS 3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 1051 ...