cancel
Showing results for 
Search instead for 
Did you mean: 

Is there an OID to check mlag peer?

Is there an OID to check mlag peer?

Marvell_Kay
New Contributor II
I am trying to write a script to audit Extreme switches and their mlag peers. So, my question is, is there a SNMP OID to check mlag peer and port?

Thanks
Damon
12 REPLIES 12

Marvell_Kay
New Contributor II
I still want to explore and see if I can get data from SNMP. I am trying Sushruth Sathyamurthy suggestion. I am looking for port assigned to vlan "ISC" with tag "4000".

I am following the instructions and here is what I get when I do 1.3.6.1.4.1.1916.1.2.1.2.1.10:SNMPv2-SMI::enterprises.1916.1.2.1.2.1.10.1000004 = INTEGER: 1
SNMPv2-SMI::enterprises.1916.1.2.1.2.1.10.1000005 = INTEGER: 4095
SNMPv2-SMI::enterprises.1916.1.2.1.2.1.10.1000010 = INTEGER: 4094
SNMPv2-SMI::enterprises.1916.1.2.1.2.1.10.1000011 = INTEGER: 4093
SNMPv2-SMI::enterprises.1916.1.2.1.2.1.10.1000012 = INTEGER: 4092
SNMPv2-SMI::enterprises.1916.1.2.1.2.1.10.1000013 = INTEGER: 4091
SNMPv2-SMI::enterprises.1916.1.2.1.2.1.10.1000014 = INTEGER: 4000I now know that "1000014" is assigned to ISC vlan since it has tag 4000.

Following the article, I then ran this OID 1.3.6.1.4.1.1916.1.2.6.1 and got this:
(I removed all other lines and just kept lines with 1000014)SNMPv2-SMI::enterprises.1916.1.2.6.1.1.1.1000014.3 = Hex-STRING: 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
SNMPv2-SMI::enterprises.1916.1.2.6.1.1.2.1000014.3 = Hex-STRING: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
SNMPv2-SMI::enterprises.1916.1.2.6.1.1.3.1000014.3 = Hex-STRING: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00I am lost after this step. Article shows values with 0x3F but all I am seeing is bunch of 0s. Do you guys know how to interpret this and get info regarding what port is assigned to ISC vlan?

I saw a page asking for MIB downloads. Do I need to download those to get proper info? If so, where do I put that file?

Hi Marvell,

1.1000014.3 represents tagged and 2.1000014.3 represents untagged ports on a VLAN respectively. In this case, the hex string goes 80 00 00 00 and so on.

Here, "8" in binary form is represented by "1000". These are the first four ports (# 1, 2, 3 and 4). The number "1" in binary here for all intents are purposes is counted as "present" and "0" as not present. So, the VLAN 1000014 (ISC) is "present" as tagged on port 1 (but not on 2, 3 and 4 as they are shown as zeroes).

To elaborate further, assuming you have a hex string 3F 08 and so on, in binary it will be 3(0011), F(1111), 0(0000), 8(1000), etc.. This means the ports that are tagged on the VLAN are 3, 4, 5, 6, 11. I hope this makes sense.

You can use the MIB to find out what each OID stands for (by looking at the descriptions resp. comments in the MIB file). Sorry, but I do not know how to interpret the output and do not have the MIB file handy.

The place where your application or SNMP library expects to find a MIB file depends on the application / library and is often configurable. Adding the MIB file might allow your application to use symbolic names for "1916.1.2.6.1.1.3.1000014" instead of numerical OIDs.

Marvell_Kay
New Contributor II
x870 only are running EXOS 22.x and rest are running 15.x.
GTM-P2G8KFN