NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

davidzz's avatar
davidzz
Aspirant
Feb 08, 2023

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 oid But it only gives basics information of the switch when i walk through with snmp.
1.3.6.1.4.1.4526.100.1.27

6 Replies

  • michaelkenward's avatar
    michaelkenward
    Guru - Experienced User

    You have asked about switches in a section dedicated to routers.

     

    While many questions about routers are generic and could be answered anywhere, some things need specialist knowledge.

    You might get more help, and find earlier questions and answers specific to your device, in the appropriate section for your hardware. That's probably here:

    Switches - NETGEAR Communities

    I will ask the Netgear moderator to move your message.

    In the meantime you could visit the support pages:

    Support | NETGEAR

    Feed in your model number and check the documentation for your hardware. Look at the label on the device for the model number.

    Check for various troubleshooting tips.

    You may have done this already. I can't tell from your message.

    I mention it because Netgear stopped supplying printed manuals and CD versions some years ago and people sometimes miss the downloads.

  • schumaku's avatar
    schumaku
    Guru - 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.

    • davidzz's avatar
      davidzz
      Aspirant

      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

      • schumaku's avatar
        schumaku
        Guru - 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.

         

         

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More