show ports wred

show ports port_list wred {no-refresh | refresh}


Displays WRED statistics for the specified ports or all ports.

Syntax Description

port_list Specifies a list of slots and ports to display. Specify ports in the following formats: 3-5, 2:5, 2:6-2:8.
no-refresh Specifies a static snapshot of data instead of the default dynamic display.
refresh Continuous refresh of output.



Usage Guidelines

If no port or port list is specified, this command displays the WRED statistics for all ports. If WRED is not configured on a port, the statistics for that port display as 0.

The drop counters in the display represent packets that were dropped based on the WRED congestion avoidance algorithm. The Green Pkt Drop column counts in-profile TCP and non-TCP packets that have been dropped. The Red Pkt Drop column counts out-of-profile TCP and non-TCP packets that have been dropped.



The values in the Yellow Pkt Drop column are always 0 in this release because the yellow traffic color is not supported at this time. For Summit X460 and X480 switches and E4G-200 and E4G-400 switches, the values in the Green Pkt Drop column are always 0 because the hardware does not provide a drop counter for the green traffic color.


The following example displays the WRED statistics for port list 2:1-9:
* Switch.243 # show ports 2:1-9 wred no-refresh
Port WRED Stats Monitor
Port      Link      Green     Yellow    Red
State     Pkt Drop  Pkt Drop  Pkt Drop
2:1       A         0         0         0
2:2       R         0         0         0
2:3       R         0         0         0
2:4       R         0         0         0
2:5       R         0         0         0
2:6       R         0         0         0
2:7       R         0         0         0
2:8       R         0         0         0
2:9       R         0         0         0
Link State: A-Active, R-Ready, NP-Port Not Present L-Loopback


This command was first available in ExtremeXOS 12.7.

The refresh keyword 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, X480, and X670 switches.