Re: Problems with table indexed by MacAddress

2007-09-12 Thread Dave Shield
On 12/09/2007, Praseed V Gopal <[EMAIL PROTECTED]> wrote: > Thanks for your time and suggestion. > Can you point me where should look in the Net-Snmp code for OID parsing? I had a quick look at the OID parsing code before I responded last night. That seems to be OK (and hasn't changed in ages - yo

Re: Problems with table indexed by MacAddress

2007-09-11 Thread Praseed V Gopal
Thanks for your time and suggestion. Can you point me where should look in the Net-Snmp code for OID parsing? I'm new to the SNMP world. I went through the FAQ, but that was a little vague for me. Regards Praseed Dave Shield <[EMAIL PROTECTED]> wrote: On 11/09/2007, Praseed V Gopal wrote: > F

Re: Problems with table indexed by MacAddress

2007-09-11 Thread Dave Shield
On 11/09/2007, Praseed V Gopal <[EMAIL PROTECTED]> wrote: > From wmanIfBsSsProvisionedForSfTable_interface.c > void > _wmanIfBsSsProvisionedForSfTable_initialize_interface(wmanIfBsSsProvisionedForSfTable_registration > * reg_ptr, u_long flags) > { > netsnmp_baby_steps_access_methods *access_mu

Re: Problems with table indexed by MacAddress

2007-09-11 Thread Praseed V Gopal
Hi Dave, >From wmanIfBsSsProvisionedForSfTable_interface.c void _wmanIfBsSsProvisionedForSfTable_initialize_interface(wmanIfBsSsProvisionedForSfTable_registration * reg_ptr, u_long flags) { netsnmp_baby_steps_access_methods *access_multiplexer = &wmanIfBsSsProvisionedForSfTable_if_c

Re: Problems with table indexed by MacAddress

2007-09-09 Thread Dave Shield
On 08/09/2007, Praseed V Gopal <[EMAIL PROTECTED]> wrote: > For me, even after changing the type from ASN_OCTET_STR to > ASN_PRIV_IMPLIED_OCTET_STR, the output I get from snmpget > & snmpset is not proper. > However, if I add a length of macAddress (6) after > wmanIfBsSsProvisionedForSfRowSta

Re: Problems with table indexed by MacAddress

2007-09-07 Thread Praseed V Gopal
Hi all , Marco, Did you found a fix for this issue you addressed few months back? I am facing a similar problem with the same wmanIfBsSsProvisionedForSfTable. For me, even after changing the type from ASN_OCTET_STR to ASN_PRIV_IMPLIED_OCTET_STR, the output I get from snmpget & snmpset is not

Re: Problems with table indexed by MacAddress

2007-02-16 Thread marco
Does anybody know what can I do to address this problem? Sorry for my insistence, but this is an urgent question... Thank you Ynjo (marco) 2007/2/15, marco <[EMAIL PROTECTED]>: 2007/2/15, Dave Shield <[EMAIL PROTECTED]>: > > On 15/02/07, marco <[EMAIL PROTECTED]> wrote: > > $ snmpset -v2c -c

Re: Problems with table indexed by MacAddress

2007-02-15 Thread marco
2007/2/15, Dave Shield <[EMAIL PROTECTED]>: On 15/02/07, marco <[EMAIL PROTECTED]> wrote: > $ snmpset -v2c -c RW_community -m ALL localhost > wmanIfBsSsProvisionedForSfRowStatus.\'abcdef\'.2 i 4 > wmanIfBsSsProvisionedForSfRowStatus.'abcdef'.2: Unknown OID > (Index out of range: 'abcde

Re: Problems with table indexed by MacAddress

2007-02-15 Thread Dave Shield
On 15/02/07, marco <[EMAIL PROTECTED]> wrote: > $ snmpset -v2c -c RW_community -m ALL localhost > wmanIfBsSsProvisionedForSfRowStatus.\'abcdef\'.2 i 4 > wmanIfBsSsProvisionedForSfRowStatus.'abcdef'.2: Unknown OID > (Index out of range: 'abcdef (wmanIfBsSsProvMacAddress)) > Why "out of r

Re: Problems with table indexed by MacAddress

2007-02-15 Thread marco
2007/2/14, Dave Shield <[EMAIL PROTECTED]>: > snmpwalk -v2c -c RW_community -m ALL localhost > wmanIfBsSsProvisionedForSfTable > > I obtain this response: > > WMAN-IF-MIB::wmanIfBsSsProvisionedForSfRowStatus.'.abcde'.102.1 > = INTEGER: active(1) > > that is right except for indexes values. A "."

Re: Problems with table indexed by MacAddress

2007-02-14 Thread Dave Shield
On 14/02/07, marco <[EMAIL PROTECTED]> wrote: > I have a problem in setting and getting values from a table with two > indexes, an integer ID and a Mac Address. > wmanIfBsSsProvMacAddress in the agent is a fixed length string (length = 6). > When I give this command from console: > > snmpwalk -v2

Problems with table indexed by MacAddress

2007-02-14 Thread marco
Hello! I'm using Net-SNMP ver. 5.3.1 and i'm adding support for some WiMax mibs. I have a problem in setting and getting values from a table with two indexes, an integer ID and a Mac Address. This table is part of the wmanIfMib. Here is description: wmanIfBsSsProvisionedForSfTable OBJECT-TYPE