2-1193
Catalyst 6500 Series Switch Command Reference—Release8.4
OL-6244-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands show snmp counters
show snmp counters
To display SNMP counter information, use the show snmp counters command.
show snmp counters [v3 | {{mod/port} {dot1d | dot3 | hcrmon | ifmib | rmon}}]
Syntax Description
Defaults This command has no default settings.
Command Types Switch command.
Command Modes Normal
Usage Guidelines There are three versions of SNMP:
Version 1 (SNMPv1)—This is the initial implementation of SNMP. Refer to RFC 1157 for a full
description of functionality.
Version 2 (SNMPv2c)—The second release of SNMP, described in RFC 1902, has additions and
enhancements to data types, counter size, and protocol operations.
Version 3 (SNMPv3)—T his i s the most r ecen t ve rsio n of SNMP an d is ful ly de scribe d in RFC 2571,
RFC 2572, RFC 2573, RFC 2574, and RFC 2575. SNMPv3 has significant enhancements to
administration and security.
The SNMP functionality on the Catalyst enterprise LAN switches for SNMP v1 and SNMP v2c remains
intact; however, the functionality has greatly expanded for SNMPv3. Refer to the “Configuring SNMP”
chapter of the Catalyst 6500 Series Switch Software Configuration Guide for more informat ion on
SNMPv3.
Examples This example shows how to display all SNMP counters:
Console> show snmp counters
mib2 SNMP group counters:
snmpInPkts = 13993
snmpOutPkts = 13960
snmpInBadVersions = 0
snmpInBadCommunityNames = 33
snmpInBadCommunityUses = 0
v3 (Optional) Specifies SNMPv3 counters.
mod/port (Optional) Module number and port number.
dot1d Specifies dot1d counters.
dot3 Specifies dot3 counters.
hcrmon Specifies HCRMON counters.
ifmib Specifies if-MIB counters.
rmon Specifies RMON counters.