- Community Home
- >
- Networking
- >
- Switching and Routing
- >
- Comware Based
- >
- HPE Comware - SNMP Query - Oid for total switchs i...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2021 04:57 AM - last edited on 08-03-2021 06:08 AM by support_s
08-03-2021 04:57 AM - last edited on 08-03-2021 06:08 AM by support_s
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 ...
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2021 05:05 AM
08-03-2021 05:05 AM
Re: HPE Comware - SNMP Query - Oid for total switchs in IRF pile
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 }
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2021 06:06 AM
08-03-2021 06:06 AM
SolutionHi @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