Hello all,
As commented in other posts, the correct way to get the hardware type of an EXOS device using snmp, is with sysObjectID.
Doing that for X690, X770, X870, it always return:
:~$ snmpget -v2c -c public sparex690 1.3.6.1.2.1.1.2.0
.1.3.6.1.2.1.1.2.0 = OID: .1.3.6.1.4.1.1916.2.93
SNMPv2-MIB::sysObjectID.0 = OID: EXTREME-BASE-MIB::summitVer2Stack
Looking the MIBs definitions it said (ExtremeXOS-22.4.1.4-MIB):
summitVer2Stack OBJECT IDENTIFIER ::= { extremeProduct 93 }
-- A stacked version of the EXOS Summit X450's, X250's
But non of the requested device are X450 nor X250.
If I do the same snmp request to another device:
:~$ snmpget -v2c -c public sparebd8806 1.3.6.1.2.1.1.2.0
.1.3.6.1.2.1.1.2.0 = OID: .1.3.6.1.4.1.1916.2.74
SNMPv2-MIB::sysObjectID.0 = OID: EXTREME-BASE-MIB::bd8806
It returns correctly the product as stated in the MIB:
bd8806 OBJECT IDENTIFIER ::= { extremeProduct 74 }
-- Black Diamond 8800 6 slot chassis
The MIB has the definition product for X690, X770, X870:
.1.3.6.1.4.1.1916.2.194 = Summit X770-32q
.1.3.6.1.4.1.1916.2.237(238) = Summit X870-32C
.1.3.6.1.4.1.1916.2.247(248) = X690
So, the questions,
1. Why is returning the wrong sysObjectID?
2. Is it because the devices have the stacking enabled? If is because of that, then;
3. How correctly get the Extreme Product using stacking?
Thanks.