Re: Regarding MacAddress usage in net-snmp

2009-05-05 Thread Sasikumar
: Re: Regarding MacAddress usage in net-snmp 2009/4/29 Sasikumar : > Please let me know anything is workng with this implementation. Well, something is obviously wrong, since you're getting the wrong answer. But you haven't bothered to show us the full code that you are using, so it

Re: Regarding MacAddress usage in net-snmp

2009-04-29 Thread Dave Shield
2009/4/29 Sasikumar : > Please let me know anything is workng with this implementation. Well, something is obviously wrong, since you're getting the wrong answer. But you haven't bothered to show us the full code that you are using, so it's impossible for us to tell *what* might be wrong. Dave -

Re: Regarding MacAddress usage in net-snmp

2009-04-29 Thread Wes Hardaker
>>>>> On Wed, 29 Apr 2009 20:14:10 +0530 (IST), Sasikumar >>>>> said: S> MAC_ADDR-MIB::MacAddress.11.1 = STRING: 11:22:33:44 Did you set the output length properly after filling the data? -- Wes Hardaker Please mail all replies to net-

Regarding MacAddress usage in net-snmp

2009-04-29 Thread Sasikumar
Hi, I have implemented a MIB with one attribute whose data type is MacAddress in the *.c files are generated using mib2c and data type is mentioned as ASN_OCTET_STR hence I am filling the unsigned char ucMacAddr[6] with hex values but when i do snmp get I am getting the following value as

MacAddress size

2008-06-11 Thread Amit Kumar
Hi All , I am using MG Soft mib browser and in my enterprise mib i have taken the Mac Address as a index (Entries based on mac addess ) and in mib the SYNTAX of Mac Address as MacAddress . I Imports the mib file SNMPV2-TC in my enterprise mib .where the MacAddress is defined as

Re: macaddress as Index.

2008-02-26 Thread David T. Perkins
HI, No, because the max value of a subidentifier is limited to a value between 0 and 2^32 - 1. A MAC address contains 48 bits. On Mon, 25 Feb 2008, Amit Kumar wrote: > Hi All , > > is there is any way to give the mac address in OID > > .1.3.6.1.4.1.28663.4.99.16.1.1.2.0016CFE08701 instead of

Re: macaddress as Index.

2008-02-25 Thread Dave Shield
On 25/02/2008, Amit Kumar <[EMAIL PROTECTED]> wrote: > Hi All , > > is there is any way to give the mac address in OID > > .1.3.6.1.4.1.28663.4.99.16.1.1.2.0016CFE08701 instead of > the decimal values of mac address . What is the MIB definition of this object? If it is defined using a suitab

Re: macaddress as Index.

2008-02-25 Thread Roy M. Silvernail
On Mon, Feb 25, 2008 at 03:21:16PM +0200, Isaac Eliassi wrote: > I am pretty new to the SNMP so my answer is under limitation, > The definition of the oid is: so there is a > limitation at it's content so the value can not be done My copy of types.h says: #ifndef MAX_SUBID /* temp

RE: macaddress as Index.

2008-02-25 Thread Isaac Eliassi
2008 2:59 PM To: net-snmp-coders@lists.sourceforge.net Subject: macaddress as Index. Hi All , is there is any way to give the mac address in OID .1.3.6.1.4.1.28663.4.99.16.1.1.2.0016CFE08701 instead of the decimal values of mac address . Please reply as soon as possible... Thanks &

macaddress as Index.

2008-02-25 Thread Amit Kumar
Hi All , is there is any way to give the mac address in OID .1.3.6.1.4.1.28663.4.99.16.1.1.2.0016CFE08701 instead of the decimal values of mac address . Please reply as soon as possible... Thanks & Regards Amit Kumar Jalota

snmpset on read-create table for MacAddress object with Hex values crashes

2006-11-30 Thread Balamurugan V
Dear All, seting Hex values for MacAddress type MIB object with snmpset command crahes for read-create table snmpset -v 2c -c private destMacAddr.1 x 0x0a0b0c0d0e0f destRowStatus.1 i 4 any specific approch to handle the hex string data for OCTET-STRING? It is not accepting the value if i give

Re: MacAddress index handling

2006-05-19 Thread Robert Story
stance currently exists at this OID" GSM> > GSM> > As per my understanding for fixed string index ( MacAddress is GSM> > OCTECT-STRING of type 6 ), no need to give the length ( 6) as prefix. If GSM> GSM> this is correct (assume you mean SIZE(6))... GSM> GSM>

Re: MacAddress index handling

2006-05-17 Thread G. S. Marzot
70.1 , with out giving the > index length ) table handler is not called and for the snmpget request I > getting reply as "No Such Instance currently exists at this OID" > > As per my understanding for fixed string index ( MacAddress is > OCTECT-STRING of type 6 ), no need to g

MacAddress index handling

2006-05-17 Thread santhosh.sundarasamy
Title: MacAddress index handling Hi,     In MIB I have a table defined with three index of type integer.MacAddress.integer.     I had generated code using mib2c.create-dataset.conf (  version : net-snmp-5.2.1 in Linux ). When I am sending snmpget as myColumn

Re: snmpget on Tables having MacAddress as index

2006-02-20 Thread Dave Shield
On Mon, 2006-02-20 at 19:18 +0530, [EMAIL PROTECTED] wrote: > I have MIB table defined having MacAddress datatype as index. > If i have to get particular column on that table, I have tried, > snmpget -v2c -c motro 10.201.114.135 myColumn.192.211.111.114.114.114 > snmpget -

snmpget on Tables having MacAddress as index

2006-02-20 Thread kanda.samy
Title: snmpget on Tables having MacAddress as index Hi I have MIB table defined having MacAddress datatype as index. If i have to get particular column on that table, I have tried, snmpget -v2c -c motro 10.201.114.135 myColumn.0 snmpget -v2c -c motro 10.201.114.135 myColumn

Re: Sending MacAddress type index for getBulk on table request

2006-01-23 Thread Dave Shield
On Sun, 2006-01-22 at 00:16 +0530, [EMAIL PROTECTED] wrote: > I have to send getbulk response for a table which has index > MacAddress type. I am using net-snmp-5.2.1 in linux. > I am putting the column name ( MIB-NAME::myColumn ) appended > with index mac address into one

Sending MacAddress type index for getBulk on table request

2006-01-21 Thread kanda.samy
Title: Sending MacAddress type index for getBulk on table request Hi, I have to send getbulk response for a table which has index MacAddress type. I am using net-snmp-5.2.1 in linux.   I am putting the column name ( MIB-NAME::myColumn )  appended with index mac address into one

Re: MacAddress

2005-08-24 Thread Dave Shield
x 0x010203040506 > > however,agent did not received expected string "123456". But a MacAddress of 1:2:3:4:5:6 is *not* the same as an Ascii string of "123456". Network addresses are *binary* strings, so you shouldn't expect

Re: MacAddress

2005-08-24 Thread Dave Shield
On Wed, 2005-08-24 at 16:25 +0800, Hongjunli wrote: > Hi, > > I want to write a columnar ojbect whose type is "MacAddress", > but the following command can not work normally: > > snmpset -v 2c -c private localhost dot11WEPKeyMappingAddress.345.1.2 = > 1:2:3:4:5:6.

MacAddress

2005-08-24 Thread Hongjunli
Hi, I want to write a columnar ojbect whose type is "MacAddress" ,but the following command can not work normally: snmpset -v 2c -c private localhost dot11WEPKeyMappingAddress.345.1.2 = 1:2:3:4:5:6. Could you give me a right example? ThanksHS^甸��X�J�'���u辑��^蹲�J�砹�� ��z阀q�&l

Re: Core dump in parsing identifier with MacAddress

2005-08-23 Thread Dave Shield
On Fri, 2005-08-19 at 17:23 -0400, Stefan Raab wrote: > My MIB (CISCO-DOT11-ASSOCIATIONS) has the following index definition: > Everytime I try and use this MIB I get a core dump I've just tried running a command over this MIB, and it works fine. What exactly do you mean by "using this MIB"? Wha

Core dump in parsing identifier with MacAddress

2005-08-19 Thread Stefan Raab
,     cDot11ClientAddress    } cDot11ClientAddress is "SYNTAX MacAddress" Everytime I try and use this MIB I get a core dump  at line 4204 of mib.c (current cvs version) in  _get_realloc_symbol:     if (strcmp(get_tc_descriptor(tp->tc_index), "