In various MIBs I see unknown sometimes as the lowest value and
sometimes as the highest.
ipv6IfNetToMediaState OBJECT-TYPE
SYNTAX INTEGER {
reachable(1), -- confirmed reachability
...
unknown(6) -- state can not be determined
-- for some reason.
}
and
dot1dStpProtocolSpecification OBJECT-TYPE
SYNTAX INTEGER {
unknown(1),
decLb100(2),
ieee8021d(3)
}
Is it just random or is one an old convention and one new? Which is
preferred for new MBIs? It seems to me that 0 (or the lowest value) is
better because we might lack the foresight to realize that more values
will be needed later and if we use the highest, current value, we run
the risk of having unknown in the middle of the list.
-------------------------------------------------------------------------
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