show ports wred

show ports port_list wred ecn {no-refresh | refresh}

Description

Displays WRED and Explicit Congestion Notification (ECN) 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.
ecn Displays ECN statistics.

Default

N/A.

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.

Note

Note

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.

Example

The following example displays the WRED statistics for port list 2:1-9:
# 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

The following example shows ECN statistics for port 2:

# show ports 2 wred ecn no-refresh  
Port WRED ECN Statisticss Monitor 
Port      Link      Packets      
          State     Marked   
====================================================================== 
2         R         0                 
====================================================================== 
Link State: A-Active, R-Ready, NP-Port Not Present L-Loopback 

The following example shows ECN statistics for all ports:

# show ports wred ecn no-refresh  
Port WRED ECN Statistics 
Port      Link      Packets 
          State     Marked 
====================================================================== 
1         A         0 
2         R         0 
3         A         0 
4         A         0 
5         R         0 
6         R         0 
7         R         0 
8         R         0 
9         R         0 
10        R         0 
11        R         0 
12        R         0 
13        R         0 
14        R         0 
15        R         0 
16        R         0 
17        R         0 
18        R         0 
19        R         0 
20        R         0 
21        R         0 
22        R         0 
23        R         0 
24        R         0 
25        R         0 
26        R         0 
27        R         0 
28        R         0 
29        R         0 
30        R         0 
31        R         0 
32        R         0 
33        NP        0 
34        NP        0 
====================================================================== 
Link State: A-Active, R-Ready, NP-Port Not Present L-Loopback 

History

This command was first available in ExtremeXOS 12.7.

The refresh keyword was added in ExtremeXOS 16.1.

The ecn keyword was added in ExtremeXOS 22.3.

Platform Availability

This command is available on the ExtremeSwitching X450-G2, X460-G2, X670-G2, X435, X465, X590, X620, X690, X695, X870 series switches.