使用的是snmp2c或以上,确定是否支持64位MIB库.使用如下命令进行测试,如果返回的有几行含有“Counter64:”的话.那么表明是支持的。
#snmpwalk -c public -v 2c localhost IF-MIB::ifHCInOctets
IF-MIB::ifHCInOctets.1 = Counter64: 1618091010490
IF-MIB::ifHCInOctets.2 = Counter64: 173888795690
IF-MIB::ifHCInOctets.3 = Counter64: 0
IF-MIB::ifHCInOctets.4 = Counter64: 0
IF-MIB::ifHCInOctets.5 = Counter64: 0
阅读(1103) | 评论(0) | 转发(0) |