Comware

 View Only
last person joined: yesterday 

Expand all | Collapse all

HPE Comware - SNMP Query - Oid for total switchs in IRF pile

This thread has been viewed 2 times
  • 1.  HPE Comware - SNMP Query - Oid for total switchs in IRF pile

    Posted Aug 03, 2021 07:58 AM

    Hello,

    After some (unsuccessful) researches, is there an appropriate MIB/oid for queyring HPE 5130 Comware type switch in order to get the exact number of switchs in an IRF pile (1 to 9 max.)

    I've found an oid query for each switch in the IRF pile returning the switch S/N. This mean i've to iterate a script (loop) with condition, but getting high times to execute ...

    So is there an all-in-one oid query in order to get this information in onel lign code ?

    Thanks a lot, good day.

    P.S.

    OID for the first switch : 1.3.6.1.4.1.25506.2.6.1.2.1.1.2.2 , +1 on the last digit supposing next switch exists ...

     

     

     


    #comware
    #switch
    #irf
    #Switch_Router_Interconnect
    #HPE
    #Commware


  • 2.  RE: HPE Comware - SNMP Query - Oid for total switchs in IRF pile

    EMPLOYEE
    Posted Aug 03, 2021 08:06 AM

    Hi @Nicolas_CRB !

    What about this one:

    .1.3.6.1.4.1.25506.2.91.1.2
    hh3cStackMemberNum OBJECT-TYPE
      -- FROM	HH3C-STACK-MIB
      SYNTAX	Integer32
      MAX-ACCESS	read-only
      STATUS	current
      DESCRIPTION	"The number of members currently in a stack."
    ::= { iso(1) org(3) dod(6) internet(1) private(4) enterprises(1) hh3c(25506) hh3cCommon(2) hh3cStack(91) hh3cStackGlobalConfig(1) 2 }

     



  • 3.  RE: HPE Comware - SNMP Query - Oid for total switchs in IRF pile

    Posted Aug 03, 2021 09:07 AM

    Hi @Ivan_B,

    First of all, many thanks !!!

    It (almost) works !

    1.3.6.1.4.1.25506.2.91.1.2 returns nothing but a 'walk' from here get me to 1.3.6.1.4.1.25506.2.91.1.2.0, which gives me the solution.

    Maybe something due to my MIB browser or loaded mibs at this point ...

    Never the less, you've saved my life today Thanks again.