configure qosprofile wred

configure {qosprofile} {egress} qosprofile [wred [{color [tcp [green | red] | non-tcp [any|red]] [{min-threshold min_thresh} {max-threshold } {max-drop-rate max_drop_rate}]} | avg-weight avg_weight]] ports [port_list |all]

Description

Configures WRED on the specified QoS profile for the specified port.

Syntax Description

egress This optional parameter specifies an egress QoS profile.
qosprofile Specifies a QoS profile name. Valid names are QP1 to QP8.
color

Specifies the WRED color to be configured.

green Specifies that the WRED configuration applies to TCP traffic that is marked green.

non-tcp any

Specifies that the WRED configuration applies to any non-TCP traffic.

red

Specifies that the WRED configuration applies to TCP traffic that is marked red.
min_thresh Specifies the minimum threshold for the specified WRED color. The range is 1 to 100 percent.
max_threshold Specifies the maximum threshold for the specified WRED color. The range is 1 to 100 percent.
max_drop_rate Specifies the maximum drop rate for the specified WRED color. The range is 1 to 100 percent.
port_list Specifies a list of slots and ports to which the parameters apply. Specify ports in the following formats: 3-5, 2:5, 2:6-2:8.

non-tcp red

Specifies that the WRED configuration applies to non-TCP traffic that is marked red.
avg_weight Specifies the weight constant for calculating the average queue size for the specified QoS profile. The range is 1 to 15.
all Specifies that this command applies to all ports on the device.

Default

Usage Guidelines

The max_drop_rate, min_threshold, and max_threshold parameters apply to the specified color. The avg_weight parameter applies to all colors on the specified QoS profile. Increasing the avg_weight value reduces the probability that traffic is dropped. Conversely, decreasing the avg_weight value increases the probability that traffic is dropped.

Example

The following example configures WRED settings for port 2:1, QoS profile qp3, color green:

configure qosprofile qp3 wred color tcp green min-threshold 80 max-threshold 95 max-drop-rate 75 ports 2:1

The following example configures the average weight for port 2:1, QoS profile qp2:

configure qosprofile qp2 wred avg-weight 4 ports 2:1

The following example configures WRED settings for non-TCP traffic on port 4, QoS profile qp3:

configure qosprofile qp3 wred color non-tcp any min-threshold 10 ports 4

The following example configures WRED settings using "wredGroup" as the port_group variable:

configure qosprofile qp8 wred color tcp red min-threshold 25 max-streshold 75 max-drop-rate 30 ports wredGroup

History

This command was first available in ExtremeXOS 12.7.

The port_group variable was added in ExtremeXOS 16.1.

Platform Availability

This command is available on the ExtremeSwitching 5520 platform.