3com 8807 Reference Guide

Page of 1099
902
C
HAPTER
 53: SNMP C
ONFIGURATION
 C
OMMANDS
CAUTION: If the SNMP Agent is disabled, "Snmp Agent disabled" will be 
displayed after you execute the above display commands.
display snmp-agent 
statistics
Syntax
display snmp-agent statistics
View
Any view
Parameter
None
Description
Use the display snmp-agent statistics command to view current state of SNMP 
communication.
This command provides a counter for SNMP operations.
Example
# Display the current state of SNMP communication.
<SW8800> display snmp-agent statistics
 
  0 Messages delivered to the SNMP entity
 
  0 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
 
  9 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 2000)
 
  9 MIB objects retrieved successfully
 
  0 MIB objects altered successfully
 
  0 GetRequest-PDU accepted and processed
 
  9 GetNextRequest-PDU accepted and processed
 
  0 GetBulkRequest-PDU accepted and processed
 
9 GetResponse-PDU accepted and processed
 
  0 SetRequest-PDU accepted and processed
 
  0 Trap PDUs accepted and processed
 
  0 Alternate Response Class PDUs droped silently
 
  0 Forwarded Confirmed Class PDUs droped silently 
The following table describes the output fields.
Table 126   Description on the fields of the display snmp-agent mib-view command
Field 
Description 
View name 
View name 
MIB Subtree  MIB subtree 
Subtree 
mask 
Subtree mask 
storage-type  Storage type 
View Type 
Permit or forbid access to an MIB object 
View status 
Indicate the line state in the table