Re: cannot do snmpset on ipForwarding
"David Wu" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Organization | Arcturus Networks Inc. |
| Message-ID | <[email protected]> |
hi all, I assume this is the default behaviour. Right? then how can I change it? On Wed, 21 Mar 2007 15:59:39 -0500, David Wu <[email protected]> wrote: > Hi all, > > I'm new to this list and also new user for net-snmp. > > I recently compiled the net-snmp-5.4 with ./configure (no other options) > on a x86(suse 8.2) machine. > I ran snmpd as "/tmp/net-snmp-5.4/agent/snmpd -M > /tmp/net-snmp-5.4/snmpd/mibs -c /tmp/net-snmp-5.4/snmpd.conf -C" > > where /home/mnt/snmpd/mibs has all the files from the release. > > cat /tmp/net-snmp-5.4/snmpd.conf: > rwuser myname > rwcommunity public > group groupv3 usm myname > view all included .iso 80 > access groupv3 "" any auth exact all all > all > > I can do snmpget : > /tmp/net-snmp-5.4/apps/snmpget -c public -v 1 localhost > ipForwarding.0 > IP-MIB::ipForwarding.0 = INTEGER: notForwarding(2) > > Then ran the snmpset: > /tmp/net-snmp-5.4/apps/snmpset -c public -v 1 localhost > ipForwarding.0 i 1 > Error in packet. > Reason: (noSuchName) There is no such variable name in this MIB. > Failed object: IP-MIB::ipForwarding.0 > > My question is: what is wrong with my setup/configuration which disallows > me to modify the ipForwarding? > ( but I can change hostname: > /tmp/net-snmp-5.4/apps/snmpset -c public -v 1 localhost sysName.0 s > "TEST" > SNMPv2-MIB::sysName.0 = STRING: TEST) > > BTW: how I can force this sysName (hostname) updated on the host?(ie. the > same as calling "hostname TEST") > > Thanks for any suggestions > -- David [email protected] ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ 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