[MIB Explorer] RE: Indexing with ifIndex

Murali Ganga Murali_Ganga at vivato.net
Thu Jul 29 22:58:10 CEST 2004


Figured it out.

Reloaded the rfc1213 by specifying proper range for 
ifIndex (1..100).

Smart Mibexplorer.

/Murali

> -----Original Message-----
> From: Murali Ganga 
> Sent: Thursday, July 29, 2004 1:27 PM
> To: 'mibexplorer at agentpp.org'
> Subject: Indexing with ifIndex
> 
> Hi,
> 
> Running 1.6.3
> Imported ifIndex from RFC1213-MIB
> 
>    testClientTable OBJECT-TYPE
>         SYNTAX     SEQUENCE OF TestClientEntry
>         MAX-ACCESS not-accessible
>         STATUS     current
>         DESCRIPTION
>            "Associated client table."
>         ::= { testClientObjects 1 }
> 
>     testClientEntry OBJECT-TYPE
>         SYNTAX     TestClientEntry
>         MAX-ACCESS not-accessible
>         STATUS     current
>         DESCRIPTION
>             "Specifies each client entry."
>         INDEX { ifIndex, testClientAddress }
>         ::= { vivatoClientTable 1 }
> 
>     ...
> 
>    testClientAddress OBJECT-TYPE
>         SYNTAX     MacAddress
>         MAX-ACCESS not-accessible
>         STATUS     current
>         DESCRIPTION
>             "An index into the table. (Mac)Address of the client."
>         ::= { testClientEntry 1 }
>    ...
>  
> Explorer complains:
> invalid index definition because
> ifIndex may be negative (RFC2578 §7.7).
> 
> What would be the problem ?
> 
> Thanks
> /Murali


More information about the MIBExplorer mailing list