The SNMPv2-MIB.mib file provides a number of counters to aid in debugging SNMP problems.

1 lists some of these diagnostic counters.

Table 1. Diagnostic Counters from SNMPv2-MIB

Variable

ID Mapping

Description

snmpInPkts

snmp 1

The total number of messages delivered to the SNMP entity from the transport service.

snmpInBadVersions

snmp 3

The total number of SNMP messages that were delivered to the SNMP entity and were for an unsupported SNMP version.

snmpInBadCommunityNames

snmp 4

The total number of community-based SNMP messages delivered to the SNMP entity that used an invalid SNMP community name.

snmpInBadCommunityUses

snmp 5

The total number of community-based SNMP messages delivered to the SNMP entity that represented an SNMP operation that was not allowed for the community named in the message.

snmpInASNParseErrs

snmp 6

The total number of ASN.1 or BER errors encountered by the SNMP entity when decoding received SNMP messages.

snmpEnableAuthenTraps

snmp 30

Indicates whether the SNMP entity is permitted to generate authenticationFailure traps. The value of this object overrides any configuration information. It therefore provides a means of disabling all authenticationFailure traps.

snmpSilentDrops

snmp 31

The total number of Confirmed Class PDUs delivered to the SNMP entity that were silently dropped because the size of a reply containing an alternate Response Class PDU with an empty variable-bindings field was greater than either a local constraint or the maximum message size associated with the originator of the request.

snmpProxyDrops

snmp 32

The total number of Confirmed Class PDUs delivered to the SNMP entity that were silently dropped because the transmission of the message to a proxy target failed in a manner other than a time-out such that no Response Class PDU could be returned.