
Statistics Commands
SNMP statistics
The following command displays SNMP statistics:
show snmp-server counters Command mode: All except User EXEC
SNMP statistics: |
|
|
|
snmpInPkts: | 54 | snmpInBadVersions: | 0 |
snmpInBadC'tyNames: | 0 | snmpInBadC'tyUses: | 0 |
snmpInASNParseErrs: | 0 | snmpEnableAuthTraps: | 0 |
snmpOutPkts: | 54 | snmpInBadTypes: | 0 |
snmpInTooBigs: | 0 | snmpInNoSuchNames: | 0 |
snmpInBadValues: | 0 | snmpInReadOnlys: | 0 |
snmpInGenErrs: | 0 | snmpInTotalReqVars: | 105 |
snmpInTotalSetVars: | 0 | snmpInGetRequests: | 2 |
snmpInGetNexts: | 52 | snmpInSetRequests: | 0 |
snmpInGetResponses: | 0 | snmpInTraps: | 0 |
snmpOutTooBigs: | 0 | snmpOutNoSuchNames: | 2 |
snmpOutBadValues: | 0 | snmpOutReadOnlys: | 0 |
snmpOutGenErrs: | 0 | snmpOutGetRequests: | 0 |
snmpOutGetNexts: | 0 | snmpOutSetRequests: | 0 |
snmpOutGetResponses: | 54 | snmpOutTraps: | 0 |
snmpSilentDrops: | 0 | snmpProxyDrops: | 0 |
The following table describes the Simple Network Management Protocol (SNMP) statistics: Table 72 SNMP statistics
Statistics | Description | |
|
| The total number of messages delivered to the SNMP entity from the transport service. |
snmpInPkts | ||
|
| The total number of SNMP messages, which were delivered to the SNMP protocol |
snmpInBadVersions | ||
|
| entity and were for an unsupported SNMP version. |
snmpInBadC'tyNames
snmpInBadC'tyUses
The total number of SNMP messages delivered to the SNMP entity that used an SNMP community name not known to the switch.
The total number of SNMP messages delivered to the SNMP protocol entity that represented an SNMP operation which was not allowed by the SNMP community named in the message.
snmpInASNParseErrs
snmpEnableAuthTraps
The total number of ASN.1 (Abstract Syntax Notation One) or BER (Basic Encoding Rules), errors encountered by the SNMP protocol entity when decoding SNMP messages received.
The Open Systems Interconnection (OSI) method of specifying abstract objects is called ASN.1 (Abstract Syntax Notation One, defined in X.208), and one set of rules for representing such objects as strings of ones and zeros is called the BER (Basic Encoding Rules, defined in X.209).
ASN.1 is a flexible notation that allows one to define a variety of data types, from simple types such as integers and bit strings to structured types such as sets and sequences.
BER describes how to represent or encode values of each ASN.1 type as a string of
An object to enable or disable the authentication traps generated by this switch.
96