snmpget: No Such Instance currently exists at this OID

问题:snmpwalk始终可以正常获取到数据,但是snmpget则一直提示No Such Instance currently exists at this OID.

原因:snmpget没有指定完整的oid,因此缺少了索引值'0'

例如:

snmpwalk -v2c -c public 192.168.1.101 .1.3.6.1.4.1.xxxxx.1.1.2.2

snmpget -v2c -c public 192.168.1.101 .1.3.6.1.4.1.xxxxx.1.1.2.2.0

你可能感兴趣的:(snmpget: No Such Instance currently exists at this OID)