Re: Same OID for RFC1213-MIB::ifspeed and IF-MIB::ifspeed

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 22/06/07, arijit <[email protected]> wrote:
>    Should the mib module for RFC1213 not implement the portion of the mib
> thats upgraded in IF-MIB, so that there's no ambiguity as to whats the
> correct value for that portion of the MIB tree?

You are mixing up two separate things - the "design" of the MIB objects,
and the code that implements them.

There is absolutely no difference between RFC1213-MIB::ifSpeed and
IF-MIB::ifSpeed.   They mean exactly the same thing - same values,
same behaviour, same everything.   There is no ambiguity.

Think of the two MIB files as two design specifications.
RFC 1213 is the initial draft, containing several chapters.
IF-MIB has taken one of those chapters, clarified a few points
and expanded it significantly.   It's version 2 of the design spec.
     But if you ignore the new stuff added in this update, the
sections taken from RFC1213 are essentially unchanged.

So for that particular set of objects,  it doesn't matter if you write code
based on the original design (RFC1213) or the new version (IF-MIB).
You are working with the same design specification, so the code will
be the same in either case.


>    If I have not done any changes to the exiting net-snmp MIB modules,
> will this issue be taken care of - or should I need to make any changes
> to the MIB module for RFC-1213 not to return any value for the common
> portion of the mibtree?

You do not need to touch the Net-SNMP code, no.
Things are fine as they are.


Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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.