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
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 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Amit Kumar Sent: Monday, February 25, 2008 2

Re: MacAddress index handling

2006-05-19 Thread Robert Story
On Wed, 17 May 2006 07:15:11 -0400 G. wrote: GSM> [EMAIL PROTECTED] wrote: GSM> > In the second case ( 1.170.170.170.170.170.170.1 , with out giving the GSM> > index length ) table handler is not called and for the snmpget request I GSM> > getting reply as "No Such Instance currently exists at this

Re: MacAddress index handling

2006-05-17 Thread G. S. Marzot
[EMAIL PROTECTED] wrote: > 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.1.6.170.170.170.170.170.17

Re: MacAddress

2005-08-24 Thread Dave Shield
On Wed, 2005-08-24 at 17:26 +0800, Hongjunli wrote: > Dave, > > I am sorry for my replying to you directly. But not sufficiently sorry to stop doing it, I see. G! > I tried : > snmpset -v 2c -c private localhost > dot11WEPKeyMappingAddress.345.1.2 x 0x010203040506 > > however

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. > > Could you give me a right