Re: snmp set , reason:general failure occured

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAKoMtGZ+5i=WEnPy3eNHNSYBxf1kAyMWofiShvDC1XxqTPcGdw@mail.gmail.com>
On 4 July 2012 20:44, hazeeq hanafi <[email protected]> wrote:
> However when I run the set command
>
> *snmpset -v 2c -c public localhost POMI=MOBILITY-MIB::txpower.0  = "1"
>
> I got
>
> * Error in packet
> * Reason : General failured occurred


> This is the code for txpower for each every mode set request:
  [snip]
>         default:
>             /* we should never get here, so this is a really bad error */
>             snmp_log(LOG_ERR, "unknown mode (%d) in handle_txpower\n",
> reqinfo->mode );
>             return SNMP_ERR_GENERR;
>     }

Presumably this is the block that is triggering the error.
What is the message that is being logged?

Dave

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
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.