show snmp statistics
Syntax
show snmp statisticsDescription
Display statistics about SNMP packets sent and received by the router.
Output Fields
Input—Information about received packets:
Packets—(snmpInPkts) Total number of messages delivered to the SNMP entity from the transport service.Bad versions—(snmpInBadVersions) Total number of messages delivered to the SNMP entity that were for an unsupported SNMP version.Bad community names—(snmpInBadCommunityNames) Total number of messages delivered to the SNMP entity that used an SNMP community name not known to the entity.Bad community uses—(snmpInBadCommunityUses) Total number of messages delivered to the SNMP entity that represented an SNMP operation that was not allowed by the SNMP community named in the message.ASN parse errors—(snmpInASNParseErrs) Total number of ASN.1 or BER errors encountered by the SNMP entity when decoding received SNMP messages.Too bigs—(snmpInTooBigs) Total number of SNMP PDUs delivered to the SNMP entity with an error status field oftooBig.No such names—(snmpInNoSuchNames) Total number of SNMP PDUs delivered to the SNMP entity with an error status field ofnoSuchName.Bad values—(snmpInBadValues) Total number of SNMP PDUs delivered to the SNMP entity with an error status field ofbadValue.Read onlys—(snmpInReadOnlys) Total number of valid SNMP PDUs delivered to the SNMP entity with an error status field ofreadOnly. Only incorrect implementations of SNMP generate this error.General errors—(snmpInGenErrs) Total number of SNMP PDUs delivered to the SNMP entity with an error status field ofgenErr.Total requests varbinds—(snmpInTotalReqVars) Total number of MIB objects retrieved successfully by the SNMP entity as a result of receiving valid SNMPGetRequestandGetNextPDUs.Total set varbinds—(snmpInSetVars) Total number of MIB objects modified successfully by the SNMP entity as a result of receiving valid SNMPSetRequestPDUs.Get requests—(snmpInGetRequests) Total number of SNMPGetRequestPDUs that have been accepted and processed by the SNMP entity.Get nexts—(snmpInGetNexts) Total number of SNMPGetNextPDUs that have been accepted and processed by the SNMP entity.Set requests—(snmpInSetRequests) Total number of SNMPSetRequestPDUs that have been accepted and processed by the SNMP entity.Get responses—(snmpInGetResponses) Total number of SNMPGetResponsePDUs that have been accepted and processed by the SNMP entity.Traps—(snmpInTraps) Total number of SNMP traps generated by the SNMP entity.Silent drops—(snmpSilentDrops) Total number ofGetRequest,GetNextRequest,GetBulkRequest,SetRequests, andInformRequestPDUs delivered to the SNMP entity that were silently dropped because the size of a reply containing an alternate response 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 requests.Proxy drops—(snmpProxyDrops) Total number ofGetRequest,GetNextRequest,GetBulkRequest,SetRequests, andInformRequestPDUs delivered to the SNMP entity that were silently dropped because the transmission of the message to a proxy target failed in such a way (other than a timeout) that no response PDU could be returned.Commit pending drops—Number of SNMP packets forSetrequests dropped because of a previous pending SNMPSetrequest on the committed configuration.Throttle drops—Number of SNMP packets for any requests dropped reaching the throttle limit.
V3 Input—Information about SNMP version 3 packets:
Unknown security models—(snmpUnknownSecurityModels) Total number of packets received by the SNMP engine that were dropped because they referenced a security model that was not known to or supported by the SNMP engine.Invalid messages—(snmpInvalidMsgs) Number of packets received by the SNMP engine that were dropped because there were invalid or inconsistent components in the SNMP message.Unknown pdu handlers—(snmpUnknownPDUHandlers) Number of packets received by the SNMP engine that were dropped because the PDU contained in the packet could not be passed to an application responsible for handling the PDU type.Unavailable contexts—(snmpUnavailableContexts) Number of requests received for a context that is known to the SNMP engine, but is currently unavailable.Unknown contexts—(snmpUnknownContexts) Total number of requests received for a context that is unknown to the SNMP engine.Unsupported security levels—(usmStatsUnsupportedSecLevels) Total number of packets received by the SNMP engine which were dropped because they requested a security level unknown to the SNMP engine (or otherwise unavailable).Not in time windows—(usmStatsNotInTimeWindows) Total number of packets received by the SNMP engine that were dropped because they appeared outside of the authoritative SNMP engine's window.Unknown user names—(usmStatsUnknownUserNames) Total number of packets received by the SNMP engine that were dropped because they referenced a user that was not known to the SNMP engine.Unknown engine ids—(usmStatsUnknownEngineIDs) Total number of packets received by the SNMP engine that were dropped because they referenced an SNMP engine ID that was not known to the SNMP engine.Wrong digests—(usmStatsWrongDigests) Total number of packets received by the SNMP engine that were dropped because they didn't contain the expected digest value.Decryption errors—(usmStatsDecryptionErrors) Total number of packets received by the SNMP engine that were dropped because they could not be decrypted.
Output—Information about transmitted packets:
Packets—(snmpOutPkts) Total number of messages passed from the SNMP entity to the transport service.Too bigs—(snmpOutTooBigs) Total number of SNMP PDUs generated by the SNMP entity with an error status field oftooBig.No such names—(snmpOutNoSuchNames) Total number of SNMP PDUs delivered to the SNMP entity with an error status field ofnoSuchName.Bad values—(snmpOutBadValues) Total number of SNMP PDUs generated by the SNMP entity with an error status field ofbadValue.General errors—(snmpOutGenErrs) Total number of SNMP PDUs generated the SNMP entity with an error status field ofgenErr.Get requests—(snmpOutGetRequests) Total number of SNMPGetRequestPDUs generated by the SNMP entity.Get nexts—(snmpOutGetNexts) Total number of SNMPGetNextPDUs generated by the SNMP entity.Set requests—(snmpOutSetRequests) Total number of SNMPSetRequestPDUs generated by the SNMP entity.Get responses—(snmpOutGetResponses) Total number of SNMPGetResponsePDUs generated by the SNMP entity.Traps—(snmpOutTraps) Total number of SNMP traps generated by the SNMP entity.Sample Output
user@host>show snmp statisticsSNMP statistics:Input:Packets: 246213, Bad versions: 12, Bad community names: 12,Bad community uses: 0, ASN parse errors: 96,Too bigs: 0, No such names: 0, Bad values: 0,Read onlys: 0, General errors: 0,Total request varbinds: 227084, Total set varbinds: 67,Get requests: 44942, Get nexts: 190371, Set requests: 10712,Get responses: 0, Traps: 0,Silent drops: 0, Proxy drops: 0, Commit pending drops: 0,Throttle drops: 0,V3 Input:Unknown security models: 0, Invalid messages: 0Unknown pdu handlers: 0, Unavailable contexts: 0Unknown contexts: 0, Unsupported security levels: 1Not in time windows: 0, Unknown user names: 0Unknown engine ids: 44, Wrong digests: 23, Decryption errors: 0Output:Packets: 246093, Too bigs: 0, No such names: 31561,Bad values: 0, General errors: 2,Get requests: 0, Get nexts: 0, Set requests: 0,Get responses: 246025, Traps: 0