NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
davidzz
Feb 08, 2023Aspirant
Net stats oid of M4300-8X8F ProSAFE 8-port 10GBASE-T and 8-port 10G SFP+
Hello l’m currently searching for the OID to get the net stat of a port on my M4300-8X8F ProSAFE 8-port 10GBASE-T and 8-port 10G SFP+ switch into the information system of the switch there is this o...
schumaku
Feb 08, 2023Guru - Experienced User
No idea what other "net stats" you are behind.
1.3.6.1.4.1.4526.100.1.27 is the MIB in the Netgear enterprise private MIB identifying the m4300-8x8f switch model.
- davidzzFeb 10, 2023Aspirant
I want the speed of all the ports (16port) to know how many Mb/s (receive and sent) are transiting with this switch.
The Iod you gave me gave me a null value- schumakuFeb 10, 2023Guru - Experienced User
All of the MIB attributes required are defined in RFC1213 MIB.
A good starting point (in bits/s) would be the ifSpeed:
.1.3.6.1.2.1.2.2.1.5 ifSpeed OBJECT-TYPE -- FROM RFC1213-MIB, IF-MIB SYNTAX Gauge MAX-ACCESS read-only STATUS Mandatory 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." ::= { ISO(1) org(3) DOD(6) Internet(1) mgmt(2) mib-2(1) interfaces(2) ifTable(2) ifEntry(1) 5 }More sophisticated math can be applied, depends based on whether the connection you measure is half-duplex or full-duplex.
Input utilization == ( (d)ifInOctets x 8 x 100 ) / ( (number of seconds in (d) ) x ifSpeed )
:
Output utilization == ( (d)ifOutOctets x 8 x100 ) / ( (number of seconds in (d) ) x ifSpeed )
.1.3.6.1.2.1.2.2.1.10 ifInOctets OBJECT-TYPE -- FROM RFC1213-MIB, IF-MIB SYNTAX Counter MAX-ACCESS read-only STATUS Mandatory DESCRIPTION "The total number of octets received on the interface, including framing characters." ::= { iso(1) org(3) dod(6) internet(1) mgmt(2) mib-2(1) interfaces(2) ifTable(2) ifEntry(1) 10 } .1.3.6.1.2.1.2.2.1.16 ifOutOctets OBJECT-TYPE -- FROM RFC1213-MIB, IF-MIB SYNTAX Counter MAX-ACCESS read-only STATUS Mandatory DESCRIPTION "The total number of octets transmitted out of the interface, including framing characters." ::= { ISO(1) org(3) DOD(6) Internet(1) mgmt(2) mib-2(1) interfaces(2) ifTable(2) ifEntry(1) 16 }Keep in mind MIB-II variables are stored as counters and it can be required take two poll cycles and figure the difference between the two.
- michaelkenwardFeb 10, 2023Guru - Experienced User
davidzz wrote:
I want the speed of all the ports (16port) to know how many Mb/s (receive and sent) are transiting with this switch.
The Iod you gave me gave me a null valueYou sure know how to rub people up the wrong way.
This community is essentially a user-to-user venue to talk about technical issues, with some input from a small band of Netgear techies.
Most of the answers come from fellow users who have no connection with Netgear. They just have a lot of collective experience and are familiar with the sort of problems that turn up here.
They aren't equipped to answers sales questions or to talk about warranty issues.
If you want "official" support then you should go through the right channels.
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!