1-6
Examples
# Display the statistics on the current SNMP.
<Sysname> display snmp-agent statistics
1684 Messages delivered to the SNMP entity
5 Messages which were for an unsupported version
0 Messages which used a SNMP community name not known
0 Messages which represented an illegal operation for the community supplied
0 ASN.1 or BER errors in the process of decoding
1679 Messages passed from the SNMP entity
0 SNMP PDUs which had badValue error-status
0 SNMP PDUs which had genErr error-status
0 SNMP PDUs which had noSuchName error-status
0 SNMP PDUs which had tooBig error-status (Maximum packet size 1500)
16544 MIB objects retrieved successfully
2 MIB objects altered successfully
7 GetRequest-PDU accepted and processed
7 GetNextRequest-PDU accepted and processed
1653 GetBulkRequest-PDU accepted and processed
1669 GetResponse-PDU accepted and processed
2 SetRequest-PDU accepted and processed
0 Trap PDUs accepted and processed
0 Alternate Response Class PDUs dropped silently
0 Forwarded Confirmed Class PDUs dropped silently
Table 1-4 display snmp-agent statistics command output description
Field Description
Messages delivered to the SNMP entity Number of packets delivered to the SNMP agent
Messages which were for an unsupported
version
Number of packets from a device with an SNMP
version that is not supported by the current
SNMP agent
Messages which used a SNMP community
name not known
Number of packets that use an unknown
community name
Messages which represented an illegal
operation for the community supplied
Number of packets carrying an operation that the
community has no right to perform
ASN.1 or BER errors in the process of decoding
Number of packets with ASN.1 or BER errors in
the process of decoding
Messages passed from the SNMP entity Number of packets sent by the SNMP agent
SNMP PDUs which had badValue error-status Number of SNMP PDUs with a badValue error
SNMP PDUs which had genErr error-status Number of SNMP PDUs with a genErr error
SNMP PDUs which had noSuchName
error-status
Number of PDUs with a noSuchName error
SNMP PDUs which had tooBig error-status
(Maximum packet size 1500)
Number of PDUs with a tooBig error (the
maximum packet size is 1,500 bytes)
MIB objects retrieved successfully
Number of MIB objects that have been
successfully retrieved