Hi Robert,

    I am using net-snmp-5.2.1 in linux. I had cross compiled net-snmp in Monta 
vista linux. the configure statement used is
CC=ppc_405-gcc ./configure --with-mib-modules="myModules"  --host=ppc-ibm-linux 
--with-endianness=big --prefix=/home/kanda/weLib/ppc 
--with-default-snmp-version="3" --with-sys-contact="[EMAIL PROTECTED]"  
--with-sys-location=ec --with-logfile="/tmp/snmpd.log"  
--with-copy-persistent-files="no" --with-persistent-directory="/var/net-snmp"

    Please let me know how ifSpeed calculated / form where SNMP agent gets this 
info? ( i know that some of ifTable information are read form /proc/net/dev 
file)

regards
Kanda


-----Original Message-----
From: Robert Story [mailto:[EMAIL PROTECTED]
Sent: Fri 12/23/2005 12:21 AM
To: Kanda Samy (WT01 - Broadband Networks)
Cc: [email protected]
Subject: Re: ifOperStatus value
 
On Thu, 22 Dec 2005 21:44:27 +0530 [EMAIL PROTECTED] wrote:
KSC>   How  ifOperStatus value in ifTable get populated for different
KSC> intefaces?
KSC> 
KSC>   I have wireless interface configured on the device, When i am sending
KSC> get on  ifOperStatus.3 it is showing up but if i send ifTable get using
KSC> "snmptable" it is showing down for that particular interface.
KSC> 
KSC>   Even though wireless interface is working fine and it is
KSC> sending/receiving data for long time, ifOperStatus.3 is having value down
KSC> sometimes.
KSC> 
KSC>   How to make this status to reflect actual status of my wireless
KSC> interface?

This depends on the OS, the version of net-snmp that you are using and how it
was configured. I'm guessing that you are on Linux, and that the agent is
getting an ifSpeed of 0, which it interprets as as down interface.

-- 
NOTE: messages sent directly to me, instead of the lists, will be deleted
      unless they are requests for paid consulting services.

Robert Story; NET-SNMP Junkie
Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp>
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-coders>

You are lost in a twisty maze of little standards, all different. 

<<winmail.dat>>

Reply via email to