Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 
Community Member

Problems with SNMP Bridge-Mib dot1dBasePortIfIndex


I'm experiencing a strange issue. I have two Cat4000 L3's running:

IOS (tm) Catalyst 4000 L3 Switch Software (cat4000-I9S-M), Version 12.2(20)EWA4, RELEASE SOFTWARE (fc2)

both with ROM 12.2(31r)SGA1

Both switches were purchased at the same time, have the same image installed from the same TFTP server, and are configured identically with respect to features, SNMP, etc. I even diffed the configs and only vlans, VTP domain, and interfaces are different.

I have a homegrown PHP script that does a SNMP walk, correlates MAC addresses with ports, and then integrates this into our documentation wiki (for all connected devices, the wiki has their MAC addresses, the script automatically updates with switch and port number).

On one switch, I can walk . (BRIDGE-MIB::dot1dBasePortIfIndex) fine using community string indexing, and I get back correct results. On the second switch, I don't get any results at all, for any VLAN...

Any suggestions? This really has me stumped, granted I'm more of a programmer than a netadmin...



Everyone's tags (1)
Community Member

This is an old post, but was

This is an old post, but was looking for solution to similar problem

To work on some switches it seams, the dot1dBasePortIfIndex table is virtualised

In order work you need to append VLAN ID to the string after adding @ symbol.

  • snmpwalk -c Community@<vlan> -v 2c .
  • snmpwalk -c public@54 -v 2c .

My problem was different. Discovered today a bug on our old 4507R's

Catalyst 4000 L3 Switch Software (cat4000-I5K91S-M), Version 12.2(25)EWA6

We have '@' in our community String:

It does not work Cat4k, but works fine other newer switches

  • snmpwalk -c C@mmunity@<vlan> -v 2c . 

Whe removing @ symbol from string it works fine on Cat4k

  • snmpwalk -c Community@<vlan> -v 2c . 

Hope this helps somehow searching for same issues.



CreatePlease to create content