hit counter script

Show Interfaces Counters - Cisco Catalyst 2960 Command Reference Manual

Hide thumbs Also See for Catalyst 2960:
Table of Contents

Advertisement

Chapter 2 Catalyst 2960 Switch Cisco IOS Commands

show interfaces counters

Use the show interfaces counters privileged EXEC command to display various counters for the switch
or for a specific interface.
Syntax Description
interface-id
errors
etherchannel
protocol status
trunk
| begin
| exclude
| include
expression
Though visible in the command-line help string, the vlan vlan-id keyword is not supported.
Note
Command Modes
Privileged EXEC
Command History
Release
12.2(25)FX
Usage Guidelines
If you do not enter any keywords, all counters for all interfaces are included.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output
are not displayed, but the lines that contain Output are displayed.
Examples
This is an example of partial output from the show interfaces counters command. It displays all
counters for the switch.
Switch# show interfaces counters
Port
Gi0/1
Gi0/2
<output truncated>
78-16882-01
show interfaces [interface-id | vlan vlan-id] counters [errors | etherchannel | protocol status |
trunk] [ | {begin | exclude | include} expression]
(Optional) ID of the physical interface, including type, module, and port
number.
(Optional) Display error counters.
(Optional) Display EtherChannel counters, including octets, broadcast
packets, multicast packets, and unicast packets received and sent.
(Optional) Display status of protocols enabled on interfaces.
(Optional) Display trunk counters.
(Optional) Display begins with the line that matches the expression.
(Optional) Display excludes lines that match the expression.
(Optional) Display includes lines that match the specified expression.
Expression in the output to use as a reference point.
Modification
This command was introduced.
InOctets
0
0
InUcastPkts
InMcastPkts
0
0
show interfaces counters
InBcastPkts
0
0
0
0
Catalyst 2960 Switch Command Reference
2-305

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents