Re: why snmpset doesn't work on some OIDs?

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAKoMtGZfgRGtdb91+cZV8hfhgFmmNwjF2vyuXf5dJ4e4OBhOXQ@mail.gmail.com>
On 11 December 2011 09:34, h bagade <[email protected]> wrote:
> I'm trying to set different OIDs on freebsd8.2 with use of snmpset. In some
> cases it works but in others it doesn't!
>
> I was successful in setting sysName(1.3.6.1.2.1.1.5.0) and sysLocation(
> 1.3.6.1.2.1.1.6.0) but couldn't set ipForwarding( 1.3.6.1.2.1.4.1.0) or
> ipDefaultTTL( 1.3.6.1.2.1.4.2.0).
>
> How could this be possible?

The most likely reason is that the agent doesn't include code to handle
SET requests for these failing objects, on that particular O/S.

You haven't said which version of the agent you are using,
but certainly the traditional implementation of the IP-MIB scalar
objects  (see mibgroup/mibII/ip.c) was read-only.
   The newer version (mibgroup/ip-mib/ip-scalars.c) seems to
include some SET support, but I'm not sure whether this is
implemented for FreeBSD systems.

That's certainly the most likely reason.

Dave

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.