snmpset is not working

"Prabhu M" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Dear all,
I am using net-snmp version 5.4. I tried the example in the
agent/mibgroup/examples/scalar_int.c. snmpget gives the proper values. The
following command

snmpset -m ALL -v 2c -c public 192.168.3.187 .1.3.6.1.4.1.8072.2.1.1.0 i 100

gives the following error

Error in packet.
Reason : noAccess.

The following command
snmpset -m ALL -v 2c -c private 192.168.3.187 .1.3.6.1.4.1.8072.2.1.1.0 i
100

gives the following error

Error : No Response from 192.168.3.187.

Please provide me with a solution.

Thanks in advance.
Regards,
Prabhu.

-------------------------------------------------------------------------
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
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.