< Home

display snmp-agent statistics

Function

The display snmp-agent statistics command displays the statistics about SNMP packets.

Format

display snmp-agent statistics

Parameters

None

Views

All views

Default Level

3: Management level

Usage Guidelines

If you need to check the communication between the agent and the managed entity or to troubleshoot SNMP, use this command to display the statistics about SNMP packets.

Example

# View the statistics about SNMP packets.

<sysname> 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
  563 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
  0 MIB objects retrieved successfully
  0 MIB objects altered successfully
  0 GetRequest-PDU accepted and processed
  0 GetNextRequest-PDU accepted and processed
  0 GetResponse-PDU accepted and processed
  0 SetRequest-PDU accepted and processed
  563 Trap-PDU accepted and processed
  0 Inform-PDU sent
  0 Inform ACK PDUs failed to be processed
  0 Inform ACK PDUs successfully processed   
Table 1 Description of the display snmp-agent statistics command output

Item

Description

Messages delivered to the SNMP entity

Total number of input SNMP messages

Messages which were for an unsupported version

Number of messages with version errors

Messages which used a SNMP community name not known

Number of messages with community name errors

Messages which represented an illegal operation for the community supplied

Number of messages with authority errors corresponding to community name

ASN.1 or BER errors in the process of decoding

Number of SNMP messages with encoding errors

Messages passed from the SNMP entity

Total number of output SNMP messages

SNMP PDUs which had badValue error-status

Number of SNMP messages with bad values

SNMP PDUs which had genErr error-status

Number of SNMP PDUs with general errors

SNMP PDUs which had noSuchName error-status

Number of SNMP PDUs with requests for non-existing MIB objects

SNMP PDUs which had tooBig error-status

Number of SNMP PDUs with Too_big errors

MIB objects retrieved successfully

Number of variables requested by NMS

MIB objects altered successfully

Number of variables set by NMS

GetRequest-PDU accepted and processed

Number of received Get-request PDUs

GetNextRequest-PDU accepted and processed

Number of received GetNext-request PDUs

GetResponse-PDU accepted and processed

Number of received Get-response PDUs

SetRequest-PDU accepted and processed

Number of received Set-request PDUs

Trap-PDU accepted and processed

Number of sent Trap PDUs

Inform-PDU sent

Number of sent Inform PDUs

Inform ACK PDUs failed to be processed

Number of Inform-PDUs received with no acknowledgement

Inform ACK PDUs successfully processed

Number of Inform-PDUs received with acknowledgement

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >