No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Fat AP and Cloud AP V200R010C00 Command Reference

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
display snmp-agent statistics

display snmp-agent statistics

Function

The display snmp-agent statistics command displays the SNMP messages statistics.

Format

display snmp-agent statistics

Parameters

None

Views

All views

Default Level

3: Management level

Usage Guidelines

In an SNMP management system, the NMS and the SNMP agent exchange SNMP messages as follows:
  • 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.

<Huawei> 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   
Table 28-6  Description of the display snmp-agent statistics command output

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.

Translation
Download
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 198923

Downloads: 122

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Share
Previous Next