Inconsistent in 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

Inconsistent in SNMP

Thu Nov 24, 2016 8:22 am

Hi. I have WS-12-250-AC with firmware 1.4.5

In SNMP (i try detect MAC addresses):

SNMPv2-SMI::mib-2.17.4.3.1.1.1 = Hex-STRING: EC 13 B2 61 CD D8
SNMPv2-SMI::mib-2.17.4.3.1.1.2 = Hex-STRING: 74 8E F8 6D AA 20
SNMPv2-SMI::mib-2.17.4.3.1.1.3 = Hex-STRING: 74 8E F8 6D B1 68
SNMPv2-SMI::mib-2.17.4.3.1.1.4 = Hex-STRING: EC 13 B2 61 CD D8

SNMPv2-SMI::mib-2.17.4.3.1.2.1 = INTEGER: 0
SNMPv2-SMI::mib-2.17.4.3.1.2.2 = INTEGER: 25
SNMPv2-SMI::mib-2.17.4.3.1.2.3 = INTEGER: 25
SNMPv2-SMI::mib-2.17.4.3.1.2.4 = INTEGER: 0

SNMPv2-SMI::mib-2.17.4.3.1.3.1 = INTEGER: 4
SNMPv2-SMI::mib-2.17.4.3.1.3.2 = INTEGER: 3
SNMPv2-SMI::mib-2.17.4.3.1.3.3 = INTEGER: 3
SNMPv2-SMI::mib-2.17.4.3.1.3.4 = INTEGER: 4

But port number 25 is what?

IF-MIB::ifDescr.1 = STRING: Port 1
IF-MIB::ifDescr.2 = STRING: Port 2
IF-MIB::ifDescr.3 = STRING: Port 3
IF-MIB::ifDescr.4 = STRING: Port 4
IF-MIB::ifDescr.5 = STRING: Port 5
IF-MIB::ifDescr.6 = STRING: Port 6
IF-MIB::ifDescr.7 = STRING: Port 7
IF-MIB::ifDescr.8 = STRING: Port 8
IF-MIB::ifDescr.9 = STRING: Port 9
IF-MIB::ifDescr.10 = STRING: Port 10
IF-MIB::ifDescr.11 = STRING: Port 11
IF-MIB::ifDescr.12 = STRING: Port 12
IF-MIB::ifDescr.13 = STRING: Port 13
IF-MIB::ifDescr.14 = STRING: Port 14

In WEBGUI I see this MAC on port 13.

Similar problem is .1.3.6.1.2.1.17.2.7 (dot1dStpRootPort from BRIDGE-MIB). Port number 25 if rstp root port is SFP. In Webgui I see port 13. But if port 11 is root - this snmp value is 11.


Another question. This MIB is other than (for example) brocade, edgecore, dcn, why?

SNMPv2-SMI::mib-2.17.4.3.1.1.0.21.23.241.2.30 = Hex-STRING: 00 15 17 F1 02 1E
SNMPv2-SMI::mib-2.17.4.3.1.2.0.21.23.241.2.30 = INTEGER: 2
IF-MIB::ifDescr.2 = STRING: GigabitEthernet1/1/2

SNMPv2-SMI::mib-2.17.4.3.1.1.0.2.209.44.27.185 = Hex-STRING: 00 02 D1 2C 1B B9
SNMPv2-SMI::mib-2.17.4.3.1.2.0.2.209.44.27.185 = INTEGER: 257
IF-MIB::ifDescr.257 = STRING: GigabitEthernet2/1/1

This manufacturers have MAC (in decimal notation) in OID and value simultaneously. This way enable fast search - one snmpget and I know port (two gets and I know port name). Your way needs snmpwalk and little programming ... and port I don't know in all situations.

----
sorry for my english.

Return to Hardware and software issues

Who is online

Users browsing this forum: No registered users and 9 guests