show ports congestion

show ports port_list congestion {no-refresh | refresh}

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.

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.

On BlackDiamond 8900 xm-series modules and Summit X670 series switches, QP1-4 support one unicast and one multicast queue for each QoS profile. The congestion counters for QP1-4 tally the unicast and multicast traffic for these QoS profiles. Congestion counters for QP5-8 tally only the unicast traffic for these QoS profiles.

Example

The following example shows the packets dropped due to congestion for all ports in real time:
BD-8810.1 # 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:
BD-8810.1 # 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 all platforms.