Re: Identifier scoping in MIBs

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
> PppEntry ::=
>     SEQUENCE {
>         ifIndex                 InterfaceIndex
>     }


I'm assuming that there is also a definition of 'ifIndex' somewhere within
this MIB file?
(or else it's explicitly imported from another private MIB file?)

Why does http://www.ibr.cs.tu-bs.de/bin/smitools.cgi complain:
>
> mibs/SOMEMIB.txt:243: [5] {identifier-external-redefined} warning:
> redefinition of identifier `IF-MIB::ifIndex'
> /usr/local/share/mibs/ietf/IF-MIB:185: [6] {previous-definition} info:
> previous definition of `ifIndex'


Strictly speaking,  it sounds as if this ought to be valid.
You really need to ask the SMItools people about this warning - they
understand their product much better than we do.

As Wes has suggested, the easiest workaround would be to rename
your index object.

Dave


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

_______________________________________________
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.