Re: How to change ifOperStatus of IF-MIB

2011-02-13 Thread Dave Shield
On 13 February 2011 11:44, Dong-Yuan Shih 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

Re: How to change ifOperStatus of IF-MIB

2011-02-13 Thread Dong-Yuan Shih
2011/2/11 Dave Shield : > Manjit wrote: >> I think you can do a snmp set to change this value > > No, you can't. > > The ifOperStatus object reports what the operational status of this interface > currently is.    It is defined as "read-only".   It cannot be changed directly > by the network admin

Re: How to change ifOperStatus of IF-MIB

2011-02-11 Thread Dave Shield
Manjit wrote: > I think you can do a snmp set to change this value No, you can't. The ifOperStatus object reports what the operational status of this interface currently is.It is defined as "read-only". It cannot be changed directly by the network administrator. The ifAdminStatus object r

Re: How to change ifOperStatus of IF-MIB

2011-02-11 Thread Manjit
I think you can do a snmp set to change this value or look into function netsnmp_arch_interface_container_load. Dong-Yuan Shih wrote: > hi all > > gre tunnel interface is always down of ifOperStatus > another daemon handle heathy check and save alive or dead to file > i want to change this val

How to change ifOperStatus of IF-MIB

2011-02-11 Thread Dong-Yuan Shih
hi all gre tunnel interface is always down of ifOperStatus another daemon handle heathy check and save alive or dead to file i want to change this value ifOperStatus, from my file i can't find the function thanks for any advice best regard ---