所选语种没有对应资源,请选择:

本站点使用Cookies,继续浏览表示您同意我们使用Cookies。Cookies和隐私政策>

提示

尊敬的用户,您的IE浏览器版本过低,为获取更好的浏览体验,请升级您的IE浏览器。

升级

CX916, CX916L, CX930 交换模块 V100R001 诊断命令参考 04

评分并提供意见反馈 :
华为采用机器翻译与人工审校相结合的方式将此文档翻译成不同语言,希望能帮助您更容易理解此文档的内容。 请注意:即使是最好的机器翻译,其准确度也不及专业翻译人员的水平。 华为对于翻译的准确性不承担任何责任,并建议您参考英文文档(已提供链接)。
display snmp-agent statistics nms

display snmp-agent statistics nms

命令功能

display snmp-agent statistics nms命令用来按照网管(IPv4地址+虚拟专用网标识)查看SNMP的报文处理统计数据信息。

命令格式

display snmp-agent statistics nms [ address-ipv4 vpn-id ]

参数说明

参数 参数说明 取值
address-ipv4

指定IPv4地址。

点分十进制格式。

vpn-id

指定虚拟专用网标识。

整数形式,取值范围是0~4294967295。

视图

诊断视图

缺省级别

3: 管理级

任务名称和操作类型

任务名称 操作类型
snmp debug

使用指南

当用户需要按照网管来查询SNMP的统计信息时,可以使用该命令查看。如果用户想要清除该命令查询到的统计信息,可以在诊断视图下执行reset snmp-agent diagnose statistics-data命令。

使用实例

# 查看所有网管的SNMP统计信息。

<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display snmp-agent statistics nms
statistics of nms:
-----------------------------------------------------------
NMS-IP/VPN-ID (10.58.250.21/0):
 5 Messages delivered to the SNMP entity
 0 Messages which were for an unsupported version
 0 Messages which used an 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
 5 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
 5 MIB objects retrieved successfully
 0 MIB objects altered successfully
 0 GetRequest-PDU accepted and processed
 5 GetNextRequest-PDU accepted and processed
 0 GetBulkRequest-PDU accepted and processed
 5 GetResponse-PDU sent
 0 SetRequest-PDU accepted and processed
 0 Trap-PDU sent
 0 Inform-PDU sent
 0 Inform-PDU received with no acknowledgement
 0 Inform-PDU received with acknowledgement

-----------------------------------------------------------
Total nms counts : 1

# 查看IPv4地址为10.58.250.21,虚拟专用网标识为0的网管的SNMP统计信息。

<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display snmp-agent statistics nms 10.58.250.21 0
statistics of nms:
-----------------------------------------------------------
NMS-IP/VPN-ID (10.58.250.21/0):
 5 Messages delivered to the SNMP entity
 0 Messages which were for an unsupported version
 0 Messages which used an 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
 5 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
 5 MIB objects retrieved successfully
 0 MIB objects altered successfully
 0 GetRequest-PDU accepted and processed
 5 GetNextRequest-PDU accepted and processed
 0 GetBulkRequest-PDU accepted and processed
 5 GetResponse-PDU sent
 0 SetRequest-PDU accepted and processed
 0 Trap-PDU sent
 0 Inform-PDU sent
 0 Inform-PDU received with no acknowledgement
 0 Inform-PDU received with acknowledgement

-----------------------------------------------------------
Total nms counts : 1
表13-83 display snmp-agent statistics nms命令输出信息描述

项目

描述

Messages delivered to the SNMP entity

收到的SNMP报文的总数。

Messages which were for an unsupported version

版本信息错误的SNMP报文数目。

Messages which used an SNMP community name not known

团体名错误的SNMP报文数目。

Messages which represented an illegal operation for the community supplied

团体名对应的权限错误的SNMP报文数目。

ASN.1 or BER errors in the process of decoding

编码错误的SNMP报文数目。

Messages passed from the SNMP entity

发送的SNMP报文的总数。

SNMP PDUs which had badValue error-status

badValue错误的SNMP报文的数目,badValue错误指向Agent发送的SetRequest报文值错误。

SNMP PDUs which had genErr error-status

genErr错误的SNMP报文的数目,genErr错误指未知错误。

SNMP PDUs which had noSuchName error-status

noSuchName类型的SNMP报文的数目,noSuchName错误指找不到实例或对象错误。

SNMP PDUs which had tooBig error-status

tooBig错误的SNMP报文数目,tooBig错误指接收的GetResponse报文大于本地设备能够处理的长度。

MIB objects retrieved successfully

NMS请求的变量的数目。

MIB objects altered successfully

NMS设置的变量的数目。

GetRequest-PDU accepted and processed

收到的Get请求的报文数目。

GetNextRequest-PDU accepted and processed

收到的GetNext请求的报文数目。

GetBulkRequest-PDU accepted and processed

收到的GetBulk请求的报文数目。

GetResponse-PDU sent

收到的Get响应的报文数目。

SetRequest-PDU accepted and processed

收到的Set请求的报文数目。

Trap-PDU sent

发送的Trap报文的数目。

Inform-PDU sent

发送Inform报文的数目。

Inform-PDU received with no acknowledgement

未得到确认的Inform报文的数目。

Inform-PDU received with acknowledgement

得到确认的Inform报文的数目。

翻译
下载文档
更新时间:2019-08-09

文档编号:EDOC1000178140

浏览量:5123

下载量:56

平均得分:
本文档适用于这些产品
相关版本
相关文档
Share
上一页 下一页