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.
Note: On Summit X670 and BlackDiamond X8 switches, QoS profiles QP5 to QP8 do not support WRED.
color

Specifies the WRED color to be configured.

Valid colors for BlackDiamond 8900 c- and xl-series modules, E4G-200 and E4G-400 switches, and Summit X460 and X480 switches are: TCP green, TCP red, and non-TCP any.

Valid colors for BlackDiamond X8 series switches, BlackDiamond 8900-40G6X-xm modules and Summit X670 switches are: TCP green, TCP red, non-TCP any, and non-TCP red.

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

  • Minimum threshold—100%
  • Maximum threshold—100%
  • Maximum drop rate—100%
  • Average weight—4

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 BlackDiamond X8 series switches, BlackDiamond 8900 c-, xl-, and xm-series modules, E4G-200 and E4G-400 switches, and Summit X460, X460-G2, X480, X670, X670-G2, and X770 switches.