show ports packet

show ports {mgmt | port_list | tag tag} packet {no-refresh | refresh}

Complete

Displays a snapshot or real-time histogram of packet statistics.

Syntax Description

mgmt

Specifies the management port.

port_list

Specifies one or more ports or slots and ports.

tag

Specifies an 802.1Q or 802.1ad tag value.

no-refresh

Specifies a static snapshot of data.

refresh Specifies a continuous refresh of output.

Default

Real-time statistics.

Usage Guidelines

If you do not specify a port number, range of ports, or tag value, the system displays information for all ports; if you specify the no-refresh parameter, the system displays a snapshot of the data at the time you issue the command. To clear the counters, use the clear counters ports command.

The tag value may be associated with either a VMAN or a VLAN.

This status information may be useful for your technical support representative if you have a network problem.

The following packet statistics are displayed:
  • Port number.

  • Link state.

  • Packet size.

Example

The following command displays packet statistics for slot 1, port 1, slot 2, port 1, and slot 5, ports 1 through 8 on a modular switch:

show ports 1:1, 2:1, 5:1-5:8 packet

Following is sample output from this command:

Port   Link                          Packet Sizes
State   0-64    65-127   128-255   256-511   512-1023   1024-1518   Jumbo
================================================================================
1:1  A       0        0          0         0        0           0         0
2:1  R       0        0          0         0        0           0         0
5:1  R       0        0          0         0        0           0         0
5:2  R       0        0          0         0        0           0         0
5:3  R       0        0          0         0        0           0         0
5:4  R       0        0          0         0        0           0         0
5:5  R       0        0          0         0        0           0         0
5:6  R       0        0          0         0        0           0         0
5:7  R       0        0          0         0        0           0         0
5:8  R       0        0          0         0        0           0         0
================================================================================
Link State: A-Active, R-Ready, NP-Port not present, L-Loopback

History

This command was first available in ExtremeXOS 10.1.

The Port Not Present variable was added in ExtremeXOS 11.2.

The no-refresh variable was added in ExtremeXOS 11.3.

The tag value was added in ExtremeXOS 12.4.4.

The refresh keyword was added in ExtremeXOS 16.1.

Platform Availability

This command is available on all platforms.