Hi,
i have a backboneswitch with portspeed of 10GB. If i made a SNMP Call to one of the interfaces (1.3.6.1.2.1.2.2.1.5.1) i get the value: 4294967295
i use SNMP V2c
Thank you for help / Hippo
SNMP Speedtest on NIC with 10 GB
1) 1.3.6.1.2.1.2.2.1.5 = .iso.org.dod.internet.mgmt.mib-2.interfaces.ifTable.ifEntry.ifSpeed. This is 32 bit counter - an estimate of the interface's current bandwidth in bits per second.
It simply cannot be equivalent to 10G because it does not contains enough significant bits.
2) SNMPv2 enabled devices supports another counter: ifHCInOctets (1.3.6.1.2.1.31.1.1.1.15.<index>) - an estimate of the interface's current bandwidth in units of 1,000,000 bits per second
3) 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. This means some devices will return constant value 10000 all the time (10,000 x 1,000,000), other devices will provide information about current bandwidth (speed)
Regards
Alex
It simply cannot be equivalent to 10G because it does not contains enough significant bits.
2) SNMPv2 enabled devices supports another counter: ifHCInOctets (1.3.6.1.2.1.31.1.1.1.15.<index>) - an estimate of the interface's current bandwidth in units of 1,000,000 bits per second
3) 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. This means some devices will return constant value 10000 all the time (10,000 x 1,000,000), other devices will provide information about current bandwidth (speed)
Regards
Alex