Information about MACs from SNMP

DOWNLOAD THE LATEST FIRMWARE HERE
Ludvik
Experienced Member
 
Posts: 105
Joined: Tue Nov 08, 2016 1:50 pm
Has thanked: 15 times
Been thanked: 15 times

Information about MACs from SNMP

Sat May 16, 2020 2:53 am

Hi.

I am trying to search MAC addresses in Netonix switch with SFP ports (type and firmware version doesn't matter).

Table 1
.1.3.6.1.2.1.17.4.3.1.1.1 = Hex-STRING: EC 13 B2 61 DE 4E
.1.3.6.1.2.1.17.4.3.1.1.2 = Hex-STRING: 00 27 22 A4 1A 03
.1.3.6.1.2.1.17.4.3.1.1.3 = Hex-STRING: 24 A4 3C 00 DD 14
.1.3.6.1.2.1.17.4.3.1.1.4 = Hex-STRING: 24 A4 3C 6E 43 38
.1.3.6.1.2.1.17.4.3.1.1.5 = Hex-STRING: 24 A4 3C 6F 43 38
.1.3.6.1.2.1.17.4.3.1.1.6 = Hex-STRING: 6C 3B 6B 84 71 6D
.1.3.6.1.2.1.17.4.3.1.1.7 = Hex-STRING: 00 27 22 F6 02 41
Table 2
.1.3.6.1.2.1.17.4.3.1.2.1 = INTEGER: 0
.1.3.6.1.2.1.17.4.3.1.2.2 = INTEGER: 6
.1.3.6.1.2.1.17.4.3.1.2.3 = INTEGER: 6
.1.3.6.1.2.1.17.4.3.1.2.4 = INTEGER: 6
.1.3.6.1.2.1.17.4.3.1.2.5 = INTEGER: 6
.1.3.6.1.2.1.17.4.3.1.2.6 = INTEGER: 26
.1.3.6.1.2.1.17.4.3.1.2.7 = INTEGER: 26

Last oid number in Table1 is index to Table2. Integer value in Table2 is physical port number.

Problem is simple: this is from WS-12. Port number bigger than 14 doesn't exists. I think you have wrong numbering SFP ports in this table.

Other snmp tables are fine. Ports numbers are 1-14.

Proof:
.1.3.6.1.2.1.2.1.0 = INTEGER: 14
.1.3.6.1.2.1.2.2.1.1.1 = INTEGER: 1
.1.3.6.1.2.1.2.2.1.1.2 = INTEGER: 2
.1.3.6.1.2.1.2.2.1.1.3 = INTEGER: 3
.1.3.6.1.2.1.2.2.1.1.4 = INTEGER: 4
.1.3.6.1.2.1.2.2.1.1.5 = INTEGER: 5
.1.3.6.1.2.1.2.2.1.1.6 = INTEGER: 6
.1.3.6.1.2.1.2.2.1.1.7 = INTEGER: 7
.1.3.6.1.2.1.2.2.1.1.8 = INTEGER: 8
.1.3.6.1.2.1.2.2.1.1.9 = INTEGER: 9
.1.3.6.1.2.1.2.2.1.1.10 = INTEGER: 10
.1.3.6.1.2.1.2.2.1.1.11 = INTEGER: 11
.1.3.6.1.2.1.2.2.1.1.12 = INTEGER: 12
.1.3.6.1.2.1.2.2.1.1.13 = INTEGER: 13
.1.3.6.1.2.1.2.2.1.1.14 = INTEGER: 14
.1.3.6.1.2.1.2.2.1.2.1 = STRING: Port 1
.1.3.6.1.2.1.2.2.1.2.2 = STRING: Port 2
.1.3.6.1.2.1.2.2.1.2.3 = STRING: Port 3
.1.3.6.1.2.1.2.2.1.2.4 = STRING: Port 4
.1.3.6.1.2.1.2.2.1.2.5 = STRING: Port 5
.1.3.6.1.2.1.2.2.1.2.6 = STRING: Port 6
.1.3.6.1.2.1.2.2.1.2.7 = STRING: Port 7
.1.3.6.1.2.1.2.2.1.2.8 = STRING: Port 8
.1.3.6.1.2.1.2.2.1.2.9 = STRING: Port 9
.1.3.6.1.2.1.2.2.1.2.10 = STRING: Port 10
.1.3.6.1.2.1.2.2.1.2.11 = STRING: Port 11
.1.3.6.1.2.1.2.2.1.2.12 = STRING: Port 12
.1.3.6.1.2.1.2.2.1.2.13 = STRING: Port 13
.1.3.6.1.2.1.2.2.1.2.14 = STRING: Port 14

It is impossible to work with it without "hacks" based on switch type. It is firmware error, i think.

User avatar
Stephen
Employee
Employee
 
Posts: 1033
Joined: Sun Dec 24, 2017 8:56 pm
Has thanked: 85 times
Been thanked: 181 times

Re: Information about MACs from SNMP

Mon May 18, 2020 4:16 am

Hey Ludvick, yes this is a firmware error. I will look into it.

Return to Hardware and software issues

Who is online

Users browsing this forum: No registered users and 79 guests