Dave I try it ,good idea, thanks Chunmei
-----Original Message----- From: Dave Shield [mailto:[EMAIL PROTECTED] Sent: 2005年10月19日 16:21 To: Chunmei Dai(CD) Cc: net-snmp-users@lists.sourceforge.net Subject: Re: private mib definition problem 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 Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users