SNMP - ifSpeed=0 and ifHighSpeed=10000 non-RFC compliant

Hi,

Since RouterOS 7.3

  • snmp - report "ifSpeed" as 0 if value out of bounds (use "ifHighSpeed" for high speed interfaces instead);

but RFC https://www.rfc-editor.org/rfc/rfc1573.html says:

   ifSpeed OBJECT-TYPE
       SYNTAX      Gauge32
       MAX-ACCESS  read-only
       STATUS      current
       DESCRIPTION
               "An estimate of the interface's current bandwidth in
               bits per second.  For interfaces which do not vary in
               bandwidth or for those where no accurate estimation
               can be made, this object should contain the nominal
               bandwidth.  If the bandwidth of the interface is
               greater than the maximum value reportable by this
               object then this object should report its maximum
               value (4,294,967,295) and ifHighSpeed must be used to
               report the interace's speed.  For a sub-layer which
               has no concept of bandwidth, this object should be
               zero."
       ::= { ifEntry 5 }

The question is - why MikroTik changed ifSpeed to 0? Can it be RFC compliant? 0 means no concept of bandwidth...

Pawel

So?...

But there is a layer of bandwith - if you have 10G ether1 interface snmp should report 4294967295 in ifSpeed and 10000 in IfHighSpeed. Don't you think so?

No, for me RFC is bad, SHOULD be 0.

FFFFFFFF can be misinterpreted to -1 instead of 4294967295