Hi,
I compile MIB-II mib module into net-snmp agent (netsnmp of version 5.2,
compiling for linux-2.4.18, powerppc). I found that the value of ifOperStatus
for the ppp interface doesn�t reflect the real status of the interface.
ifOperStatus is always �down� even that the interface is up.
The following is the related info by ifconfig
ppp0 Link encap:Point-to-Point Protocol
inet addr:10.7.4.1 P-t-P:10.7.4.2 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:10279 errors:1 dropped:0 overruns:0 frame:0
TX packets:10312 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:955661 (933.2 KiB) TX bytes:958702 (936.2 KiB)
The corresponding mibii-interface info are the following
ifIndex.3 3
ifDescr.3 pp0
ifType.3 23 (ppp)
ifMtu.3 1500
ifSpeed.3 0
ifAdminStatus.3 1(up)
ifOperStatus.3 2(down)
ifInOctets.3 968123
ifInUcastPkts.3 10413
ifInDiscards.3 0
ifInErrors.3 1
ifOutOctets.3 971722
ifOutDiscards.3 0
ifOutErrors.3 0
ifOutQLen.3 0
Both ethernet interface and loopback are OK. However, the agent can�t send out
linkUpDown traps. (I compile disman-event mib into the agent and include
linkUpDownNotifaction yes into snmpd.conf).
Any advices are suggestions very appreciated!
Regards,
Jennifer
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users