I’d like to monitor my peplink 20 device using SNMP and for that I did a snmpwalk on it. Looking at the resulting mib i got a little confused with the response I got. Could someone help me out on this?
My pepelink has 4 interfaces (1 LAN, 3 WANS being one of those a GPRS modem). This seems to match this values:
IF-MIB::ifNumber.0 = INTEGER: 4
IF-MIB::ifIndex.1 = INTEGER: 1
IF-MIB::ifIndex.2 = INTEGER: 2
IF-MIB::ifIndex.3 = INTEGER: 3
IF-MIB::ifIndex.4 = INTEGER: 4
IF-MIB::ifDescr.1 = STRING: LAN
IF-MIB::ifDescr.2 = STRING: WAN1
IF-MIB::ifDescr.3 = STRING: WAN2
IF-MIB::ifDescr.4 = STRING: WAN3
now, when I look the ifAdminStatus and ifOperStatus, I got 4 itens on the first bu only 03 of the second.
F-MIB::ifAdminStatus.1 = INTEGER: up(1)
IF-MIB::ifAdminStatus.2 = INTEGER: up(1)
IF-MIB::ifAdminStatus.3 = INTEGER: up(1)
IF-MIB::ifAdminStatus.4 = INTEGER: up(1)
IF-MIB::ifOperStatus.1 = INTEGER: up(1)
IF-MIB::ifOperStatus.2 = INTEGER: up(1)
IF-MIB::ifOperStatus.3 = INTEGER: down(2)
Should’nt be a 4th IF-MIB::ifOperStatus item (IF-MIB::ifOperStatus.4)?
Thanks in advance.