display snmp-agent statistics
Usage Guidelines
- The NMS acts as a manager to send an SNMP Request message to the SNMP agent.
- The SNMP agent searches the MIB on the device for the required information and sends an SNMP Response message to the NMS.
- When the trap triggering conditions are met, the SNMP agent sends a trap to the NMS to report the event occurring on the device. In this manner, the network administrator can process the event occurring on the network in time.
The display snmp-agent statistics command analyzes the statistics about SNMP messages and obtains information about the communication between the SNMP agent and the NMS for fault location.
If large number of messages are received in short period, a great number of CPU resources are occupied. The number of received messages depends on the frequency at which the NMS sends the Request messages.
Example
# Display the statistics about the SNMP messages.
<AC6605> display snmp-agent statistics
The PDU process average time ( second ): 2
0 Messages delivered to the SNMP entity
0 Messages which were for an unsupported version
0 Messages which used an unknown community name
0 Messages which represented an illegal operation for the community supplied
0 ASN.1 or BER errors in the process of decoding
0 MIB objects retrieved successfully
0 MIB objects altered successfully
0 Get-request PDUs accepted and processed
0 Get-next PDUs accepted and processed
0 Set-request PDUs accepted and processed
0 Messages passed from the SNMP entity
0 Messages which were discarded, because the message queue is full
0 SNMP PDUs which had a tooBig error (Maximum packet size 12000)
0 SNMP PDUs which had a noSuchName error
0 SNMP PDUs which had a had badValue error
0 SNMP PDUs which had a general error
0 Response PDUs accepted and processed
0 Trap PDUs accepted and processed
Item |
Description |
---|---|
Messages delivered to the SNMP entity |
Total number of received SNMP messages. |
Messages which were for an unsupported version |
Number of messages with incorrect version information. |
Messages which used an unknown community name |
Number of messages with incorrect community names. |
Messages which represented an illegal operation for the community supplied |
Number of messages whose community names have incorrect access rights. |
ASN.1 or BER errors in the process of decoding |
Number of SNMP messages with encoding errors. |
MIB objects retrieved successfully |
Number of variables requested by the NMS. |
MIB objects altered successfully |
Number of variables set by the NMS. |
Get-request PDUs accepted and processed |
Number of received GetRequest messages. |
Get-next PDUs accepted and processed |
Number of received GetNextRequest messages. |
Set-request PDUs accepted and processed |
Number of received SetRequest messages. |
Messages passed from the SNMP entity |
Total number of outgoing SNMP messages. |
Messages which were discarded, because the message queue is full |
Total number of discarded SNMP messages. |
SNMP PDUs which had a tooBig error (Maximum packet size 12000) |
Number of SNMP messages with Too_big errors. |
SNMP PDUs which had a noSuchName error |
Number of messages with noSuchName errors. |
SNMP PDUs which had a had badValue error |
Number of SNMP messages with Bad_values errors. |
SNMP PDUs which had a general error |
Number of SNMP messages with General_errors. |
Response PDUs accepted and processed |
Number of received response messages. |
Trap PDUs accepted and processed |
Number of sent traps. |