2009/4/15 sanjaykumar <sanjay.ku...@globaledgesoft.com>:
> I am looking to create a ROW in a TABLE of Type ROW-STATUS.

That doesn't make sense.
The syntax RowStatus (sic) is applied to a *column* of the table,
not the table as a whole.


> How does we give the "set" request to snmp agent , i.e,  "snmpset
> command"  to create a row in a table ?

The exact command depends on the table, how it's indexed, and
what other information you want (or need) to provide for the new
row.  But at it's simplest, this would be something like


    snmpset .....   localhost    myStatus.99 i 4

which would create (and make active - createAndGo(4)) a new row
with index 99, and default values for all of the other columns.



> How the order of column (different parameter of the Table) in snmpset
> command will be extracted  by snmpagent ?

The order of varbinds in the request is irrelevant.
The agent (i.e. the MIB module) should be able to handle the request
with the varbinds occurring in any order.  You cannot assume a
particular arrangement.
   There are various postings in the mailing list archives that
discuss this.  (E.g. "Parsing Get/Set Requests in Table_Handler"
from 10th Feb)

Dave

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to