snmp cisco 871
Добавлено: 2009-12-18 12:55:44
Есть cisco 871 серии хочу по snmp снимать статистику с портов но ничего подобного в ней найти не могу, подскажите как найти нужный mib ?
Если у меня опускаются руки, это значит, я потянулся к кувалде
https://forum.lissyara.su/
да, могу получить весь список, но большенства из этого http://www.opennet.ru/base/cisco/cisco_snmp.txt.html нету.оно на snmp запросы вообще отвечает?
объем трафика на порту.какую вы статистику хотите получить?
Код: Выделить всё
snmpwalk -c <community> -v2c <ip> ifTable
Код: Выделить всё
snmpwalk -c <community> -v2c <ip> ifXTable
Код: Выделить всё
IF-MIB::ifName.1 = STRING: Fa0
IF-MIB::ifName.2 = STRING: Fa1
IF-MIB::ifName.3 = STRING: Fa2
IF-MIB::ifName.4 = STRING: Fa3
IF-MIB::ifName.5 = STRING: Fa4
IF-MIB::ifName.6 = STRING: Nu0
IF-MIB::ifName.7 = STRING: Vl1
IF-MIB::ifName.8 = STRING: Lo0
IF-MIB::ifInMulticastPkts.1 = Counter32: 0
IF-MIB::ifInMulticastPkts.2 = Counter32: 0
IF-MIB::ifInMulticastPkts.3 = Counter32: 0
IF-MIB::ifInMulticastPkts.4 = Counter32: 0
IF-MIB::ifInMulticastPkts.5 = Counter32: 0
IF-MIB::ifInMulticastPkts.6 = Counter32: 0
IF-MIB::ifInMulticastPkts.7 = Counter32: 0
IF-MIB::ifInMulticastPkts.8 = Counter32: 0
IF-MIB::ifInBroadcastPkts.1 = Counter32: 1618486
IF-MIB::ifInBroadcastPkts.2 = Counter32: 0
IF-MIB::ifInBroadcastPkts.3 = Counter32: 0
IF-MIB::ifInBroadcastPkts.4 = Counter32: 0
IF-MIB::ifInBroadcastPkts.5 = Counter32: 5295645
IF-MIB::ifInBroadcastPkts.6 = Counter32: 0
IF-MIB::ifInBroadcastPkts.7 = Counter32: 2000015
IF-MIB::ifInBroadcastPkts.8 = Counter32: 0
IF-MIB::ifOutMulticastPkts.1 = Counter32: 0
IF-MIB::ifOutMulticastPkts.2 = Counter32: 0
IF-MIB::ifOutMulticastPkts.3 = Counter32: 0
IF-MIB::ifOutMulticastPkts.4 = Counter32: 0
IF-MIB::ifOutMulticastPkts.5 = Counter32: 0
IF-MIB::ifOutMulticastPkts.6 = Counter32: 0
IF-MIB::ifOutMulticastPkts.7 = Counter32: 0
IF-MIB::ifOutMulticastPkts.8 = Counter32: 0
IF-MIB::ifOutBroadcastPkts.1 = Counter32: 238763
IF-MIB::ifOutBroadcastPkts.2 = Counter32: 0
IF-MIB::ifOutBroadcastPkts.3 = Counter32: 0
IF-MIB::ifOutBroadcastPkts.4 = Counter32: 0
IF-MIB::ifOutBroadcastPkts.5 = Counter32: 223619
IF-MIB::ifOutBroadcastPkts.6 = Counter32: 0
IF-MIB::ifOutBroadcastPkts.7 = Counter32: 0
IF-MIB::ifOutBroadcastPkts.8 = Counter32: 0
IF-MIB::ifHCInOctets.1 = Counter64: 32303998690
IF-MIB::ifHCInOctets.2 = Counter64: 0
IF-MIB::ifHCInOctets.3 = Counter64: 0
IF-MIB::ifHCInOctets.4 = Counter64: 0
IF-MIB::ifHCInOctets.5 = Counter64: 54089552889
IF-MIB::ifHCInOctets.7 = Counter64: 31932334856
IF-MIB::ifHCInOctets.8 = Counter64: 0
IF-MIB::ifHCInUcastPkts.1 = Counter64: 91050241
IF-MIB::ifHCInUcastPkts.2 = Counter64: 0
IF-MIB::ifHCInUcastPkts.3 = Counter64: 0
IF-MIB::ifHCInUcastPkts.4 = Counter64: 0
IF-MIB::ifHCInUcastPkts.5 = Counter64: 102809325
IF-MIB::ifHCInUcastPkts.7 = Counter64: 90664439
IF-MIB::ifHCInUcastPkts.8 = Counter64: 0
IF-MIB::ifHCInMulticastPkts.5 = Counter64: 0
IF-MIB::ifHCInBroadcastPkts.5 = Counter64: 5295625
IF-MIB::ifHCOutOctets.1 = Counter64: 53673703517
IF-MIB::ifHCOutOctets.2 = Counter64: 0
IF-MIB::ifHCOutOctets.3 = Counter64: 0
IF-MIB::ifHCOutOctets.4 = Counter64: 0
IF-MIB::ifHCOutOctets.5 = Counter64: 31959097044
IF-MIB::ifHCOutOctets.7 = Counter64: 53063198010
IF-MIB::ifHCOutOctets.8 = Counter64: 0
IF-MIB::ifHCOutUcastPkts.1 = Counter64: 103509654
IF-MIB::ifHCOutUcastPkts.2 = Counter64: 0
IF-MIB::ifHCOutUcastPkts.3 = Counter64: 0
IF-MIB::ifHCOutUcastPkts.4 = Counter64: 0
IF-MIB::ifHCOutUcastPkts.5 = Counter64: 91027950
IF-MIB::ifHCOutUcastPkts.7 = Counter64: 102852930
IF-MIB::ifHCOutUcastPkts.8 = Counter64: 0
IF-MIB::ifHCOutMulticastPkts.5 = Counter64: 0
IF-MIB::ifHCOutBroadcastPkts.5 = Counter64: 223618
IF-MIB::ifLinkUpDownTrapEnable.1 = INTEGER: enabled(1)
IF-MIB::ifLinkUpDownTrapEnable.2 = INTEGER: enabled(1)
IF-MIB::ifLinkUpDownTrapEnable.3 = INTEGER: enabled(1)
IF-MIB::ifLinkUpDownTrapEnable.4 = INTEGER: enabled(1)
IF-MIB::ifLinkUpDownTrapEnable.5 = INTEGER: enabled(1)
IF-MIB::ifLinkUpDownTrapEnable.6 = INTEGER: enabled(1)
IF-MIB::ifLinkUpDownTrapEnable.7 = INTEGER: enabled(1)
IF-MIB::ifLinkUpDownTrapEnable.8 = INTEGER: enabled(1)
IF-MIB::ifHighSpeed.1 = Gauge32: 100
IF-MIB::ifHighSpeed.2 = Gauge32: 100
IF-MIB::ifHighSpeed.3 = Gauge32: 100
IF-MIB::ifHighSpeed.4 = Gauge32: 100
IF-MIB::ifHighSpeed.5 = Gauge32: 100
IF-MIB::ifHighSpeed.6 = Gauge32: 10000
IF-MIB::ifHighSpeed.7 = Gauge32: 100
IF-MIB::ifHighSpeed.8 = Gauge32: 8000
IF-MIB::ifPromiscuousMode.1 = INTEGER: false(2)
IF-MIB::ifPromiscuousMode.2 = INTEGER: false(2)
IF-MIB::ifPromiscuousMode.3 = INTEGER: false(2)
IF-MIB::ifPromiscuousMode.4 = INTEGER: false(2)
IF-MIB::ifPromiscuousMode.5 = INTEGER: false(2)
IF-MIB::ifPromiscuousMode.6 = INTEGER: false(2)
IF-MIB::ifPromiscuousMode.7 = INTEGER: false(2)
IF-MIB::ifPromiscuousMode.8 = INTEGER: false(2)
IF-MIB::ifConnectorPresent.1 = INTEGER: true(1)
IF-MIB::ifConnectorPresent.2 = INTEGER: true(1)
IF-MIB::ifConnectorPresent.3 = INTEGER: true(1)
IF-MIB::ifConnectorPresent.4 = INTEGER: true(1)
IF-MIB::ifConnectorPresent.5 = INTEGER: true(1)
IF-MIB::ifConnectorPresent.6 = INTEGER: false(2)
IF-MIB::ifConnectorPresent.7 = INTEGER: false(2)
IF-MIB::ifConnectorPresent.8 = INTEGER: false(2)
IF-MIB::ifAlias.1 = STRING:
IF-MIB::ifAlias.2 = STRING:
IF-MIB::ifAlias.3 = STRING:
IF-MIB::ifAlias.4 = STRING:
IF-MIB::ifAlias.5 = STRING:
IF-MIB::ifAlias.6 = STRING:
IF-MIB::ifAlias.7 = STRING:
IF-MIB::ifAlias.8 = STRING:
IF-MIB::ifCounterDiscontinuityTime.1 = Timeticks: (608) 0:00:06.08
IF-MIB::ifCounterDiscontinuityTime.2 = Timeticks: (608) 0:00:06.08
IF-MIB::ifCounterDiscontinuityTime.3 = Timeticks: (608) 0:00:06.08
IF-MIB::ifCounterDiscontinuityTime.4 = Timeticks: (608) 0:00:06.08
IF-MIB::ifCounterDiscontinuityTime.5 = Timeticks: (608) 0:00:06.08
IF-MIB::ifCounterDiscontinuityTime.6 = Timeticks: (800) 0:00:08.00
IF-MIB::ifCounterDiscontinuityTime.7 = Timeticks: (822) 0:00:08.22
IF-MIB::ifCounterDiscontinuityTime.8 = Timeticks: (1236) 0:00:12.36