Re: private mib definition problem

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On Wed, 2005-10-19 at 16:10 +0800, Chunmei Dai(CD) wrote:
> 1.I want a 64 bit INTEGER as a table’s index. Then I use
> SYNTAX  “Counter64” as this table’s index

This is not allowed.
>From RFC 2578, section 7.7:

   Since a single value of a Counter has (in general) no information
   content (see section 7.1.6 and 7.1.10), objects defined using the
   syntax, Counter32 or Counter64, must not be specified in an INDEX
   clause



> 2.complie this mib file using tool “adventnet simulation toolkit”.
> This tool give me following message:

>    ERR-162    The objects having the syntax Counter32 or
>               Counter64, must not be specified in an INDEX clause.


Quite correct.


> My question is why I can’t using SYNTAX “Counter64” as a table’s index

See above.

>  if can’t using it ,which syntax I can use? 

Pretty much *any* syntax other than Counter32 and Counter64.
Why not use two 32-bit integer index values.  That would give
the same effect as a single 64-bit integer.

Dave


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.