show snmp counters

Use this command to display SNMP traffic counter values.

Syntax

show snmp counters

Parameters

None.

Defaults

None.

Mode

All command modes.

Example

This example shows how to display SNMP counter values.

System(rw)->show snmp counters
--- mib2 SNMP group counters:
snmpInPkts              = 396601
snmpOutPkts             = 396601
snmpInBadVersions       = 0
snmpInBadCommunityNames = 0
snmpInBadCommunityUses  = 0
snmpInASNParseErrs      = 0
snmpInTooBigs           = 0
snmpInNoSuchNames       = 0
snmpInBadValues         = 0
snmpInReadOnlys         = 0
snmpInGenErrs           = 0
snmpInTotalReqVars      = 403661
snmpInTotalSetVars      = 534
snmpInGetRequests       = 290
snmpInGetNexts          = 396279
snmpInSetRequests       = 32
snmpInGetResponses      = 0
snmpInTraps             = 0
snmpOutTooBigs          = 0
snmpOutNoSuchNames      = 11
snmpOutBadValues        = 0
snmpOutGenErrs          = 0
snmpOutGetRequests      = 0
snmpOutGetNexts         = 0
snmpOutSetRequests      = 0
snmpOutGetResponses     = 34
snmpOutTraps            = 0
snmpSilentDrops         = 0
snmpProxyDrops          = 0
--- USM Stats counters:
usmStatsUnsupportedSecLevels = 0
usmStatsNotInTimeWindows     = 0
usmStatsUnknownUserNames     = 0
usmStatsUnknownEngineIDs     = 0
usmStatsWrongDigests         = 0
usmStatsDecryptionErrors     = 0

show snmp counters Output Details shows a detailed explanation of the command output.

Click to expand in new window

show snmp counters Output Details

Output... What it displays...
snmpInPkts Number of messages delivered to the SNMP entity from the transport service.
snmpOutPkts Number of SNMP messages passed from the SNMP protocol entity to the transport service.
snmpInBadVersions Number of SNMP messages delivered to the SNMP entity for an unsupported SNMP version.
snmpInBadCommunityNames Number of SNMP messages delivered to the SNMP entity that used an SNMP community name not known to the entity.
snmpInBadCommunityUses Number of SNMP messages delivered to the SNMP entity that represented an SNMP operation not allowed by the SNMP community named in the message.
snmpInASNParseErrs Number of ASN.1 (Abstract Syntax Notation) or BER (Basic Encoding Rules) errors encountered by the SNMP entity when decoding received SNMP messages.
snmpInTooBigs Number of SNMP PDUs delivered to the SNMP protocol entity with the value of the error-status field as “tooBig.”
snmpInNoSuchNames Number of SNMP PDUs delivered to the SNMP protocol entity with the value of the error-status field as “noSuchName.”
snmpInBadValues Number of SNMP PDUs delivered to the SNMP protocol entity with the value of the error-status field as “badValue.”
snmpInReadOnlys Number of valid SNMP PDUs delivered to the SNMP protocol entity with the value of the error-status field as “readOnly.”
snmpInGenErrs Number of SNMP PDUs delivered to the SNMP protocol entity with the value of the error-status field as “genErr.”
snmpInTotalReqVars Number of MIB objects retrieved successfully by the SNMP protocol entity as the result of receiving valid SNMP Get-Request and Get-Next PDUs.
snmpInTotalSetVars Number of MIB objects altered successfully by the SNMP protocol entity as the result of receiving valid SNMP Set-Request PDUs.
snmpInGetRequests Number of SNMP Get-Request PDUs accepted and processed by the SNMP protocol entity.
snmpInGetNexts Number of SNMP Get-Next PDUs accepted and processed by the SNMP protocol entity.
snmpInSetRequests Number of SNMP Set-Request PDUs accepted and processed by the SNMP protocol entity.
snmpInGetResponses Number of SNMP Get-Response PDUs accepted and processed by the SNMP protocol entity.
snmpInTraps Number of SNMP Trap PDUs accepted and processed by the SNMP protocol entity.
snmpOutTooBigs Number of SNMP PDUs generated by the SNMP protocol entity with the value of the error-status field as “tooBig.”
snmpOutNoSuchNames Number of SNMP PDUs generated by the SNMP protocol entity with the value of the error-status as “noSuchName.”
snmpOutBadValues Number of SNMP PDUs generated by the SNMP protocol entity with the value of the error-status field as “badValue.”
snmpOutGenErrs Number of SNMP PDUs generated by the SNMP protocol entity with the value of the error-status field as “genErr.”
snmpOutGetRequests Number of SNMP Get-Request PDUs generated by the SNMP protocol entity.
snmpOutGetNexts Number of SNMP Get-Next PDUs generated by the SNMP protocol entity.
snmpOutSetRequests Number of SNMP Set-Request PDUs generated by the SNMP protocol entity.
snmpOutGetResponses Number of SNMP Get-Response PDUs generated by the SNMP protocol entity.
snmpOutTraps Number of SNMP Trap PDUs generated by the SNMP protocol entity.
snmpSilentDrops Number of SNMP Get, Set, or Inform request error messages that were dropped because the reply was larger than the requestor‘s maximum message size.
snmpProxyDrops Number of SNMP Get, Set, or Inform request error messages that were dropped because the reply was larger than the proxy target‘s maximum message size.
usmStatsUnsupportedSec
Levels Number of packets received by the SNMP engine that were dropped because they requested a security level that was unknown to the SNMP engine or otherwise unavailable.
usmStatsNotInTimeWindows Number of packets received by the SNMP engine that were dropped because they appeared outside of the authoritative SNMP engine's window.
usmStatsUnknownUserNames Number of packets received by the SNMP engine that were dropped because they referenced a user that was not known to the SNMP engine.
usmStatsUnknownEngineIDs Number of packets received by the SNMP engine that were dropped because they referenced an snmpEngineID that was not known to the SNMP engine.
usmStatsWrongDigests Number of packets received by the SNMP engine that were dropped because they did not contain the expected digest value.
usmStatsDecriptionErrors Number of packets received by the SNMP engine that were dropped because they could not be decrypted.