Re: Table implementation with 2 indexes and one is of type InterfaceIndex

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAKoMtGar3GRQBAqntOFLXOq=Rxa7oGf3n1VNAF35gzJmeH2Nvw@mail.gmail.com>
On 6 February 2012 18:00, vishnu kumat <[email protected]> wrote:
> HOW TO implement a table with two indexes, with one of the indexes being of
> type InterfaceIndex?

>From IF-MIB:

    InterfaceIndex ::= TEXTUAL-CONVENTION
        :
    SYNTAX       Integer32 (1..2147483647)


> how to define InterfaceIndex as a index as it is not ASN_INTEGER

Yes - it is.
It's a textual convention, built on the underlying Integer type.
So when registering the table indexes, use this underlying type.

Dave

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
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.