show port counters

Use this command to display port counter statistics detailing traffic through the device and through all MIB2 network devices.

Syntax

show port counters [port-string] [[switch | mib2] | [brief | packets | detail | errors] [nonzero]]

Parameters

port-string (Optional) Displays counter statistics for specific port(s).
switch | mib2 (Optional) Displays switch or MIB2 statistics. Switch statistics detail performance of the Extreme Networks switch device. MIB2 interface statistics detail performance of all network devices.
brief (Optional) Displays a summary of MIB2 counters.
packets (Optional) Displays high capacity packet counters statistics.
detail (Optional) Displays all MIB2 counters.
errors (Optional) Displays error, discard, and unknown protocol counters.
nonzero (Optional) Displays only ports that have counters with a non-zero value.

Defaults

  • If port-string is not specified, counter statistics will be displayed for all ports.
  • If neither mib2 nor switch are specified, all counter statistics will be displayed for the specified port(s).
  • If brief is not specified, a standard level of information is displayed.
  • If packets is not specified, information is displayed for all counters.
  • If detail is not specified, a standard level of information is displayed.
  • If errors is not specified, information is displayed for all counters.
  • if nonzero is not specified, information is displayed for all counters.

Mode

All command modes.

Example

This example shows how to display all counter statistics, including MIB2 network traffic and traffic through the device for ge.3.1:

System(rw)->show port counters ge.3.1
Port: ge.3.1   MIB2 Interface: 1   Bridge Port: 2
No counter discontinuity time
-----------------------------------------------------------------
MIB2 Interface Counters
-----------------------
In Octets                          0
In Unicast Pkts                    0
In Multicast Pkts                  0
In Broadcast Pkts                  0
In Discards                        0
In Errors                          0
In Unknown Protocol                0
Out Octets                         0
Out Unicasts Pkts                  0
Out Multicast Pkts                 0
Out Broadcast Pkts                 0
Out Errors                         0
Out Queue Length                   256
802.1Q Switch Counters
----------------------
Frames Received                    0
Frames Transmitted                 0
Frames Filtered                    0

This example shows how to display all ge.1.1 port counter statistics related to traffic through the device.

System(rw)->show port counters ge.1.1 switch
Port: ge.1.1   Bridge Port: 65
No counter discontinuity time
--------------------------------------------------------------------
Frames Received                  1923736
Frames Transmitted                328967
Frames Filtered                        0
System(rw)->

show port counters Output Details provides an explanation of the command output.

Click to expand in new window

show port counters Output Details

Output... What it displays...
Port Port designation.
MIB2 Interface MIB2 interface designation.
Bridge Port IEEE 802.1D bridge port designation.
MIB2 Interface Counters MIB2 network traffic counts for In Octets, Unicast Packets, Broadcast Packets, Discards, Errors, and Unknown Protocol. Counts for Out Octets, Unicasts Packets, Multicast Packets, Broadcast Packets Discards, Errors, and Queue Length.
802.1Q Switch Counters Counts of frames received, transmitted, and filtered.