show ports congestion
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](../../images/Note_Note.png)
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](../../images/Note_Note.png)
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](../../images/Note_Note.png)
Note
To display the congestion statistics for the QoS profiles on a port, use the show ports port_list qosmonitor {congestion} {no-refresh} command.
Example
# 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
# 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.