SNMP Configuration Commands 477
display snmp-agent
statistics
Syntax
display snmp-agent statistics
View
All views
Parameter
None
Description
Use the display snmp-agent statistics command to view the current state of
SNMP communication.
This command provides a counter for SNMP operations.
Example
Display the current state of SNMP communication.
<SW5500>display snmp-agent statistics
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
3 Messages passed from the SNMP entity
0 SNMP PDUs which had a tooBig error (Maximum packet size 1500)
0 SNMP PDUs which had a noSuchName error
0 SNMP PDUs which had a badValue error
0 SNMP PDUs which had a general error
0 Response PDUs accepted and processed
3 Trap PDUs accepted and processed
The following table describes the output fields.
Table 60 Output description of the display snmp-agent statistics command
Field Description
0 Messages delivered to the SNMP entity Total number of the input SNMP packets
0 Messages which were for an
unsupported version
Number of packets with version information error
0 Messages which used an unknown
community name
Number of packets with community name error
0 Messages which represented an illegal
operation for the community supplied
Number of packets with authority error
corresponding to the community name
0 ASN.1 or BER errors in the process of
decoding
Number of SNMP packets with encoding error
0 MIB objects retrieved successfully Number of variables requested by NMS
0 MIB objects altered successfully The number of variables set by NMS