4.3.1 Port Statistics

Use this command to display the general traffic statistics for all switch ports.

Command Syntax:

show interface <port_type> [ <port_list> ] statistics [ { packets | bytes | errors | discards | filtered | { priority [ <priority_list> ] } | link-state-changes } ] [ { up | down } ]
Table 4-10. Command Description

Argument

Description

Parameter

<port_type>

Port type in GigabitEthernet

<port_list>

List of Port ID, for example, 1/1, 1/1-4

<priority_list>

Priority of the queue (or queues) to show statistics for.

Default

N.A

Mode

User EXEC mode

Usage

Display traffic statistics

Example

Example 1:

Display traffic statistics for port 1 showing only errors.

# show interface GigabitEthernet 1/1 statistics errors