cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1569
Views
0
Helpful
2
Replies

SNMP OID does not work for 3750x

Leon Khanan
Level 1
Level 1

I am trying to poll for  dynamic MAC table from the switch now i am stuck as none of my  3750s cant  snmpwalk the .1.3.6.1.2.1.17.4.3.1.1 aka 

dot1dTpFdbAddress

snmpwalk -v2c -c public 10.60.128.4 dot1dTpFdbAddress
Did not find 'zeroDotZero' in module SNMPv2-SMI (/usr/local/airwave/share/snmp/mibs/diffserv.my)
Did not find 'zeroDotZero' in module SNMPv2-SMI (/usr/local/airwave/share/snmp/mibs/IP-MIB.my)
Bad timestamp format (11 or 13 characters) (2011122200000Z): At line 164 in /usr/local/airwave/share/snmp/mibs/CISCO-LWAPP-PMIP-MIB.my
Did not find 'zeroDotZero' in module SNMPv2-SMI (/usr/local/airwave/share/snmp/mibs/CISCO-BULK-FILE-MIB.my)
Group not found in module (ciscoLwappSysIgmpConfigGroup): At line 53 in /usr/local/airwave/share/snmp/mibs/CISCO-LWAPP-SYS-CAPABILITY.my
Undefined OBJECT-GROUP (cLMobilityGroupRev01ConfigGroup): At line 1005 in /usr/local/airwave/share/snmp/mibs/CISCO-LWAPP-MOBILITY-MIB.my
Did not find 'zeroDotZero' in module SNMPv2-SMI (/usr/local/airwave/share/snmp/mibs/hh3c-epon-device.mib)
Did not find 'zeroDotZero' in module SNMPv2-SMI (/opt/airwave/share/snmp/mibs/DISMAN-SCHEDULE-MIB.txt)
Did not find 'zeroDotZero' in module SNMPv2-SMI (/opt/airwave/share/snmp/mibs/DISMAN-EVENT-MIB.txt)
BRIDGE-MIB::dot1dTpFdbAddress = No Such Instance currently exists at this OID

or by OID

snmpwalk -v2c -c public 10.60.128.4 1.3.6.1.2.1.17.4.3.1.1
Did not find 'zeroDotZero' in module SNMPv2-SMI (/usr/local/airwave/share/snmp/mibs/diffserv.my)
Did not find 'zeroDotZero' in module SNMPv2-SMI (/usr/local/airwave/share/snmp/mibs/IP-MIB.my)
Bad timestamp format (11 or 13 characters) (2011122200000Z): At line 164 in /usr/local/airwave/share/snmp/mibs/CISCO-LWAPP-PMIP-MIB.my
Did not find 'zeroDotZero' in module SNMPv2-SMI (/usr/local/airwave/share/snmp/mibs/CISCO-BULK-FILE-MIB.my)
Group not found in module (ciscoLwappSysIgmpConfigGroup): At line 53 in /usr/local/airwave/share/snmp/mibs/CISCO-LWAPP-SYS-CAPABILITY.my
Undefined OBJECT-GROUP (cLMobilityGroupRev01ConfigGroup): At line 1005 in /usr/local/airwave/share/snmp/mibs/CISCO-LWAPP-MOBILITY-MIB.my
Did not find 'zeroDotZero' in module SNMPv2-SMI (/usr/local/airwave/share/snmp/mibs/hh3c-epon-device.mib)
Did not find 'zeroDotZero' in module SNMPv2-SMI (/opt/airwave/share/snmp/mibs/DISMAN-SCHEDULE-MIB.txt)
Did not find 'zeroDotZero' in module SNMPv2-SMI (/opt/airwave/share/snmp/mibs/DISMAN-EVENT-MIB.txt)
BRIDGE-MIB::dot1dTpFdbAddress = No Such Instance currently exists at this OID

has anyone any experience  trying to pull that OID from the Cisco switches as a part of  over the wire rogue detection ?

switch:


snmp-server view ISO iso included
snmp-server community public RO

I also have v3 configured  but i ran v2 just as a test as v3  has the same issue....

 
2 Replies 2

Reza Sharifi
Hall of Fame
Hall of Fame

You may get more responses if you move this to the "network management" section of the forum.

prasadm
Cisco Employee
Cisco Employee

Leon,

I feel the problem is the remaining MAC may be associated to a VLAN, and the BRIDGE-MIB, which is the MIB that contains the dot1dTpFdbAddress and  dot1dTpFdbPort needs to be polled using the community plus the "@" symbol and the VLAN number

For example

nms-server2:/home/ccarring> snmpwalk -c public@6 14.32.6.17 dot1dTpFdbPort
.1.3.6.1.2.1.17.4.3.1.2.0.2.185.144.76.102 = INTEGER: 113
.1.3.6.1.2.1.17.4.3.1.2.0.2.253.106.170.243 = INTEGER: 113
.1.3.6.1.2.1.17.4.3.1.2.0.6.83.198.64.173 = INTEGER: 113
.1.3.6.1.2.1.17.4.3.1.2.0.16.13.56.16.0 = INTEGER: 113
.1.3.6.1.2.1.17.4.3.1.2.0.96.84.144.248.0 = INTEGER: 113
.1.3.6.1.2.1.17.4.3.1.2.0.208.2.214.120.10 = INTEGER: 113
.1.3.6.1.2.1.17.4.3.1.2.0.208.211.54.162.60 = INTEGER: 113
.1.3.6.1.2.1.17.4.3.1.2.0.224.30.159.10.210 = INTEGER: 65

The documents below explain in further detail how to associate ports to MAC addresses

How To Get Dynamic CAM Entries (CAM Table) for Catalyst Switches Using SNMP
 http://www.cisco.com/c/en/us/support/docs/ip/simple-network-management-protocol-snmp/13492-cam-snmp.html


Using SNMP to Find a Port Number from a MAC Address on a Catalyst Switch
 http://www.cisco.com/c/en/us/support/docs/ip/simple-network-management-protocol-snmp/44800-mactoport44800.html

=======

If it is helpful, let me know..

Thank you,
-Prasad.
|