show ports congestion

show ports port_list congestion {no-refresh | refresh}{port-number}

Description

Displays the port egress congestion statistics (dropped packets) for the specified ports on the front panel.

Syntax Description

port_list Specifies one or more slots and ports.
no-refresh Specifies a static snapshot of data instead of the default dynamic display.
refresh Specifies a continuous refresh of output.
port-number Displays port number instead of display string.

Default

Displays the port congestion statistics for all ports in real-time.

Usage Guidelines

The bottom line in the real-time display shows keys that you can press to change the display. For example, you can clear the counters or page up or down through the list of ports.

Note

Note

If you are displaying congestion statistics in real time and another CLI session resets the counters for a port you are monitoring, the counters displayed in your session for that port are also reset.

If you specify the no-refresh parameter, the system displays a snapshot of the data at the time you issue the command.

Note

Note

Packets can be dropped at multiple locations along the path through the hardware. The per-port congestion counters count all dropped packets for all ports.

If you do not specify a port number or range in the command, dropped packet counts are displayed for all ports.

Note

Note

To display the congestion statistics for the QoS profiles on a port, use the show ports port_list qosmonitor {congestion} {no-refresh} command.

Note

Note

On a V300 bridge port extender (BPE) port, neither show ports port_list qosmonitor {congestion} {no-refresh | refresh} {port-number} nor show ports port_list congestion {no-refresh | refresh}{port-number} increments when there is egress congestion. Instead, you can view egress congestion using show ports {port_list | stack-ports stacking-port-list} rxerrors {no-refresh | refresh} on the ingress port (upstream port in many cases).

Example

The following example shows the packets dropped due to congestion for all ports in real time:
# show ports congestion
Port Congestion Monitor                                 Tue May 27 13:02:37 2008
Port      Link      Packet
State     Drop
================================================================================
1:1       R         0
1:2       R         0
1:3       A         96
1:4       R         0
2:1       R         0
2:2       A         28513
2:3       R         0
2:4       R         0
2:5       R         0
2:6       R         0
2:7       R         0
2:8       R         0
3:1       R         0
3:2       R         0
3:3       R         0
3:4       R         0
================================================================================
> indicates Port Display Name truncated past 8 characters
Link State: A-Active, R-Ready, NP-Port Not Present, L-Loopback
0->clear counters  U->page up  D->page down ESC->exit
The following example shows a snapshot display of the packets dropped due to congestion for all ports:
# show ports congestion no-refresh
Port      Link      Packet
State     Drop
================================================================================
1:1       R         0
1:2       R         0
1:3       A         96
1:4       R         0
2:1       R         0
2:2       A         28513
2:3       R         0
2:4       R         0
2:5       R         0
2:6       R         0
2:7       R         0
2:8       R         0
3:1       R         0
3:2       R         0
3:3       R         0
3:4       R         0
5:1       R         0
================================================================================
> indicates Port Display Name truncated past 8 characters
Link State: A-Active, R-Ready, NP-Port Not Present, L-Loopback

History

This command was first available in ExtremeXOS 12.2.2.

The refresh keyword was added in ExtremeXOS 16.1.

Platform Availability

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