Hi Dave,
  Thank you for the providing the solution. It was registered as ASN_OCTET_STR 
when code was generated using mib2c. It works properly with 
ASN_PRIV_IMPLIED_OCTET_STR

Regards,
Sasikumar.B


--- On Mon, 8/2/10, Dave Shield <[email protected]> wrote:

> From: Dave Shield <[email protected]>
> Subject: Re: Need clarification regarding Mac Address as Index
> To: "Sasikumar" <[email protected]>
> Cc: "netsnmp" <[email protected]>
> Date: Monday, 8 February, 2010, 2:15 PM
> On 8 February 2010 05:00, Sasikumar
> <[email protected]>
> wrote:
> >    I am implementing Q-BRIDGE-MIB in this table is
> dot1qTpFdbTable
> > which as dot1qTpFdbAddress as one of the Index.
> > My question is when this table was queried the output
> contains
> > length of the Mac address, Is this valid.
> 
> No.
> You are quite correct.
> 
> MacAddress is a fixed-size type, so the string index value
> should not include a length subidentifier.
> 
> Have a look at where the table indexing is registered.
> This should be using ASN_PRIV_IMPLIED_OCTET_STR
> rather than simply ASN_OCTET_STR
> 
> Dave
> 


      Your Mail works best with the New Yahoo Optimized IE8. Get it NOW! 
http://downloads.yahoo.com/in/internetexplorer/

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to