On 13 February 2011 11:44, Dong-Yuan Shih <[email protected]> wrote:
> the version is  net-snmp-5.2.6.rc2

On what operating system?


> i think because interface is gre tunnel,so ifOperStatus is always down

What does 'ifconfig' report for this interface?


> i did not find the function to change the value

No - you won't.
The value that the agent reports for ifOperStatus is just whatever the
underlying operating system reports for the status of this interface.
There is no code for changing the value of ifOperStatus within the agent.

If the agent is reporting the wrong value, then we need to identify
what is wrong with the code that retrieves this information from the
operating system.

  Hence my question above - what does 'ifconfig' report?

Dave

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to